1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-26 15:46:23 +00:00
Commit Graph

1025 Commits

Author SHA1 Message Date
Thaddeus Crews
af08ab49f7 Merge pull request #107468 from Calinou/editor-animationtree-warn-disabled
Display AnimationTree editor warnings when the node is disabled
2025-09-30 18:35:14 -05:00
Thaddeus Crews
21fd4faf1b Merge pull request #107469 from Ivorforce/vector-localvector-explicit-span-conversions
Remove implicit conversions between `LocalVector` and `Vector`
2025-09-30 11:19:17 -05:00
Thaddeus Crews
54e74142af Merge pull request #110656 from KoBeWi/LocalTweener
Change list of Tweeners from Vector to LocalVector
2025-09-24 09:59:03 -05:00
Michael Alexsander
f16ff829f0 Allow to use sliders for integers in EditorSpinSlider 2025-09-22 11:23:15 -03:00
kobewi
0108e2f82f Change list of Tweeners from Vector to LocalVector 2025-09-19 22:36:07 +02:00
kobewi
d61a337a70 Improve usage of String.split() vs get_slice() 2025-09-19 16:31:55 +02:00
Thaddeus Crews
2557b0da9f Merge pull request #101285 from Nazarwadim/use_LocalVector_in_animation
Use `LocalVector` in `Animation`
2025-09-16 20:28:52 -05:00
Lukas Tenbrink
abe3b481ae Make conversions from LocalVector to Vector explicit. 2025-09-16 21:41:28 +02:00
Luo Zhihao
adbd78af91 AnimationTree: Fix libraries is stored 2025-09-11 09:41:22 +08:00
Hugo Locurcio
269ee1204d Display AnimationTree editor warnings when the node is disabled
AnimationTree's Active property isn't the only way to control whether
an AnimationTree can play animations. Node's Process Mode property
also affects it.
2025-07-24 00:08:31 +02:00
kobewi
fd5646856d Remove PropertyTweener start warning 2025-07-08 15:53:53 +02:00
Malcolm Anderson
914480e256 Skip killed/invalid subtween 2025-07-02 10:10:02 -07:00
kobewi
b615c7b3db Block Tween custom_step() during step 2025-06-26 12:27:53 +02:00
Rémi Verschelde
0129180c72 Merge pull request #106567 from TokageItLab/fix-fadeout-dur
Fix fade out duration to extend a bit take into account current delta in NodeOneShot
2025-06-22 11:59:01 +02:00
Nazarii
1964918e46 Use LocalVector in Animation 2025-06-18 18:37:55 +03:00
LuoZhihao
8ba4656ea3 Compile out editor-only logic within validate_property in games 2025-06-12 12:54:19 +08:00
Adam Johnston
d72006119d Add node started/finished signals for animation state machines 2025-06-05 12:09:16 -07:00
Silc Lizard (Tokage) Renew
64e015cb65 Add default paramater for AnimationNode as super class 2025-06-06 02:23:59 +09:00
Rémi Verschelde
e5c8fb8f1d Merge pull request #107005 from TokageItLab/fix-anim-node-param-type
Fix ambiguous AnimationNode's parameter type in default value and make `validate_type_match()` static function
2025-06-05 13:12:43 +02:00
Silc Lizard (Tokage) Renew
678fb63451 Fix ambiguous AnimationNode's parameter type in default value
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2025-06-05 10:02:22 +09:00
LuoZhihao
713ed59a77 Remove unnecessary _validate_property() calling 2025-06-03 21:57:36 +08:00
Silc Lizard (Tokage) Renew
2ffb3fb690 Fix fade out duration to extend a bit take into account current delta 2025-05-19 22:41:42 +09:00
Thaddeus Crews
70fa7fba19 Merge pull request #101792 from TokageItLab/oneshot-scale
Change `NodeOneShot` fading to uses self delta instead of input delta
2025-05-19 08:01:30 -05:00
Silc Lizard (Tokage) Renew
b4ac896c66 Changed NodeOneShot fading so that it does not depend on input delta 2025-05-18 09:27:05 +09:00
Rémi Verschelde
b7f75578db Merge pull request #104419 from Ryan-000/fix_animation_mixer_errors
Remove incorrect errors in AnimationMixer
2025-05-13 01:04:33 +02:00
Thaddeus Crews
0793c626d2 Merge pull request #106111 from Calinou/animationmixer-libraries-use-typed-dictionary
Use a type-hinted dictionary for AnimationLibrary's `libraries` property
2025-05-07 12:48:33 -05:00
kobewi
34b485d62b Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
Hugo Locurcio
006c9bb39a Use a type-hinted dictionary for AnimationLibrary's libraries property
This is done at a editor property hint level so that it doesn't break compatibility.
In other words, the actual `libraries` property exposed to the scripting API
remains an untyped Dictionary.
2025-05-06 00:32:30 +02:00
lawnjelly
f8f350a32a Add GLOBAL_GET cached macros.
GLOBAL_GET is an expensive operation which should not be used each frame / tick.
This PR adds macros which do a cheaper revision check, and only call the expensive GLOBAL_GET when project settings have changed.

Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-04-30 15:08:50 +01:00
Thaddeus Crews
796b9caa09 Merge pull request #105552 from adamwych/expose-get-node-list
Expose `AnimationNode(StateMachine/BlendTree).get_node_list()`
2025-04-27 19:21:26 -05:00
Thaddeus Crews
3947cbe3b2 Merge pull request #104386 from Repiteo/core/cpp-math
Core: Replace C math headers with C++ equivalents
2025-04-27 19:21:22 -05:00
Nazarii
afc923f415 Use AHashMap for RBMap nodes and HashMap input_activity 2025-04-26 13:21:12 +03:00
Thaddeus Crews
fdf8f3ac73 Merge pull request #105089 from Summersay415/current-anim
Fix `current_animation_changed` emission on animation finish
2025-04-22 18:25:48 -05:00
Adam Wychowaniec
d193af78c5 Expose AnimationNode(StateMachine/BlendTree).get_node_list() 2025-04-22 21:08:26 +02:00
Thaddeus Crews
1e8b7fe5a0 Merge pull request #101582 from Flynsarmy/recursive_transition_wording
Improve wording on recursive transition detection warning
2025-04-18 12:21:26 -05:00
Thaddeus Crews
ad40939b6f Core: Replace C math headers with C++ equivalents
- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
2025-04-16 15:49:02 -05:00
Thaddeus Crews
94282d88f9 Core: Use Math namespace for constants 2025-04-10 16:29:30 -05:00
Thaddeus Crews
819bb61710 Merge pull request #103198 from Naputt1/fix-tween.kill()-isValid()-return-false
Fix `Tween.is_valid()` returning `true` after calling `kill()`
2025-04-10 10:18:21 -05:00
Summersay415
540eca9099 Fix current_animation_changed emission on animation finish 2025-04-06 19:11:39 +07:00
Yufeng Ying
4f4031a675 Replace size() == 0 with is_empty(). 2025-04-02 19:18:43 +08:00
Thaddeus Crews
d52b84e472 Merge pull request #103993 from aaronfranke/geometry-segment
Directly use segment points in Geometry2D/3D function parameters
2025-04-01 08:01:34 -05:00
Thaddeus Crews
8f6bb119f4 Merge pull request #100602 from KoBeWi/over_100_changes_in_50_random_files_aka_the_best_kind_of_PR
Add templated version of `ObjectDB::get_instance()`
2025-03-31 12:03:47 -05:00
Aaron Franke
c1acc839a8 Directly use segment points in Geometry2D/3D function parameters 2025-03-30 16:25:59 -07:00
Yyf2333
22b5ec17fb Using iterator pattern instead of List::Element *.
Co-authored-by: Adam Scott <ascott.ca@gmail.com>
2025-03-28 13:29:15 +08:00
kobewi
bc9d0c7835 Add templated version of ObjectDB::get_instance() 2025-03-27 15:43:23 +01:00
kobewi
8f657977fc Fix final tween value with custom interpolator 2025-03-24 22:55:57 +01:00
Thaddeus Crews
1cb3cfaa8e Style: Convert namespaces to PascalCase 2025-03-23 19:10:24 -05:00
Ryan
8df0234101 Remove incorrect errors in AnimationMixer 2025-03-20 20:00:07 -04:00
kobewi
10f6c01b9c Remove ABS in favor of Math::abs 2025-03-19 13:52:40 +01:00
Yufeng Ying
bebe037abf Add ConstIterator to Dictionary. 2025-03-13 01:28:46 +08:00