Commit Graph

1149 Commits

Author SHA1 Message Date
Silc Lizard (Tokage) Renew c3b215de96 Add null check for root_animation_node in AnimationTree 2026-06-09 18:56:13 +09:00
Silc Lizard (Tokage) Renew c640059ece Check blend weight for AnimNode error&remove _validate_animation_graph 2026-06-08 08:32:42 +09:00
Silc Lizard (Tokage) Renew 4b82c44607 Fix AnimationNode's branching by custom timeline usage 2026-06-03 03:51:41 +09:00
chocola-mint 94d51d48df Make AnimationNodeAnimation's custom timeline processing logic compatible with AnimationMixer 2026-06-02 19:39:09 +09:00
Thaddeus Crews 2828be93cf Merge pull request #119069 from Ryan-000/fix-animation-9
Fix BlendSpace point insertion shift at a specific index
2026-05-12 12:25:43 -05:00
Thaddeus Crews d3a741d3f7 Merge pull request #119070 from Ryan-000/fix-animation-10
Blend space editor: Use correct name in events, and clean all states
2026-05-12 12:25:42 -05:00
AtomicAntt 27b3ee0755 Rename various signal parameters called 'name' 2026-05-07 11:02:23 -07:00
Thaddeus Crews a0375dde96 Merge pull request #119063 from Ryan-000/fix-animation-3
Animation: Only erase properties for a specific node
2026-04-30 10:58:12 -05:00
Thaddeus Crews b4d7726260 Merge pull request #119089 from uno1982/fix/blend-space-negative-timescale
Fix negative time scale regression in BlendSpace1D and BlendSpace2D
2026-04-30 10:58:01 -05:00
Thaddeus Crews 7a8ebaed07 Merge pull request #119001 from YeldhamDev/silence_animation
Make error about keyless animation tracks a verbose warning instead
2026-04-29 12:28:52 -05:00
uno1982 3ffd58063e Fix negative time scale regression in BlendSpace1D and BlendSpace2D
Replace -1 sentinel value in deltas array with NAN to distinguish
between "skip this blend point" and a legitimate negative delta from
a negative time scale node. std::signbit was incorrectly skipping
blend points with negative deltas, causing animation playback failure
and an out-of-bounds error when using negative time scale for reverse
animation.

Fixes #119060
2026-04-29 10:34:26 -05:00
Ryan 2470710a31 Fix BlendSpace point insertion shift at a specific index 2026-04-28 16:38:37 -04:00
Ryan 0976e085f5 Only erase properties for a specific node
The current method would match too broadly. E.g. if you have a "running" and a "run" node, then delete "run", it would clear the parameters for both.
2026-04-28 16:27:17 -04:00
Ryan fdc441f0c2 Use correct name in events, and clean all state
https://github.com/godotengine/godot/pull/110369 changed the names from itos(index), to custom names however the "animation_node_removed" signal was not updated to reflect that change.

Also its safer to clear all the state when removing, rather than just the name.
2026-04-28 16:22:08 -04:00
Thaddeus Crews 9eda898eb8 Merge pull request #118791 from Ryan-000/fix-118701
Move dirty filter state from `AnimationNode` to `AnimationNodeInstance`
2026-04-28 09:02:55 -05:00
Michael Alexsander 86601900bd Make error about keyless animation tracks a verbose warning instead 2026-04-27 14:01:04 -03:00
xuhuisheng 232d69e75c Prevent error message when try to get blend point name at first time 2026-04-25 23:30:38 +08:00
Silc Lizard (Tokage) Renew bd6e63482e Remove SNAME from MethodInfo macro 2026-04-22 18:48:26 +09:00
Ryan cd8748873f Move dirty filter state from AnimationNode to AnimationNodeInstance 2026-04-20 16:05:02 -04:00
uno1982 7f7677f281 Add SyncMode enum to BlendSpace1D and BlendSpace2D 2026-04-09 21:19:14 -05:00
Thaddeus Crews df824815bc Merge pull request #117498 from vaner-org/blendspace-visual-consistency
Improve visual consistency of BlendSpace editors within AnimationTree
2026-04-09 17:41:07 -05:00
vaner-org 6c4aac33bd Make BlendSpace editors more consistent across AnimationTree 2026-04-09 04:14:49 +05:30
chocola-mint ca0ed1f42f Fix incorrect animation section when playing a custom timeline with stretched time scale. 2026-04-02 20:45:28 +09:00
Thaddeus Crews 331c829765 Merge pull request #117538 from Ryan-000/fix-117459
Fix incorrect parameter being set in AnimationNodeOneShot
2026-03-19 15:39:12 -05:00
Thaddeus Crews bf6ec91417 Merge pull request #117508 from TokageItLab/fix-blend-space-setter
Fix blend point setter can't restore the name in deprecated=no
2026-03-19 15:39:11 -05:00
Rémi Verschelde 98868393cc Style: Enforce #include validation hook 2026-03-18 10:41:59 +01:00
Ryan 49e2c18e87 Fix incorrect parameter being set 2026-03-17 17:21:03 -04:00
Rémi Verschelde e33e98a26f Style: Apply clang-format grouping rules 2026-03-17 20:11:01 +01:00
Silc Lizard (Tokage) Renew 119c497c96 Fix blend point setter can't restore the name in deprecated=no 2026-03-17 21:09:59 +09:00
Rémi Verschelde 7795057e4b Misc includes or modernize fixes found via clangd-tidy 2026-03-16 21:38:26 +01:00
Ryan a236aa21db Fix parameter name mismatch 2026-03-15 17:33:43 -04:00
Rémi Verschelde 96436e33f9 Merge pull request #117277 from Ryan-000/ryan-opt-tree
Optimize AnimationTree, Improve internals & Editor & `Node::process_thread_group` safety
2026-03-14 12:16:19 +01:00
Rémi Verschelde f06fe5254b Merge pull request #117180 from ryevdokimov/fix-animation-player
Fix `AnimationPlayer` not updating animation length when animation resource changes
2026-03-14 12:16:10 +01:00
Ryan 1a5d818ea9 Optimize AnimationTree & Improve internals
Apply suggestions from code review

Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-Authored-By: Silc Lizard (Tokage) Renew <tokage.it.lab@gmail.com>
2026-03-14 02:24:21 -04:00
M. Sadık Uğursoy 93d29e7d96 Use StringName pointer as IDs for TrackCache keys, instead of hashes
- Store StringName in Track
2026-03-14 02:05:19 +03:00
Thaddeus Crews e11d9eb8da Merge pull request #110369 from vaner-org/blendspace-edit-name-index
Display and allow setting name/index of BlendSpace points
2026-03-12 09:03:38 -05:00
Thaddeus Crews 020df5d452 Merge pull request #92429 from Daylily-Zeleen/daylily-zeleen/add_tween_has_tweenders
Add `Tween::has_tweeners()`
2026-03-12 09:03:35 -05:00
Rémi Verschelde 8028b65442 Remove unused includes in scene with clangd-tidy 2026-03-10 16:40:00 +01:00
Yyf2333 282e4544b0 Split VariantCaster from binder_common.h 2026-03-10 17:59:33 +08:00
vaner-org f873fa3c3a Display and allow setting name/index of BlendSpace points 2026-03-10 00:29:49 +05:30
ryevdokimov 0a587aeba9 Fix AnimationPlayer not updating animation length when animation resource changes 2026-03-07 10:17:25 -05:00
Silc Lizard (Tokage) Renew 73d041dd98 Optimize Animation Resource, Library, Mixer, Player
Co-Authored-By: Silc Lizard (Tokage) Renew <tokage.it.lab@gmail.com>
2026-03-06 16:35:21 -05:00
Rémi Verschelde 2dd1f4ef60 Decouple node.h from scene_tree.h, minimize its other includes 2026-03-05 13:54:46 +01:00
Rémi Verschelde eabb9a63d4 Rename callable_method_pointer.h to callable_mp.h and include it explicitly
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.

Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
Rémi Verschelde 765362b033 Explicitly include core/config/engine.h where used 2026-03-04 10:17:10 +01:00
Rémi Verschelde f332faf46b Explicitly include core/os/os.h where used 2026-03-04 09:54:10 +01:00
Thaddeus Crews abdde1b69d Core: Remove class_db.h include from ref_counted.h 2026-02-26 18:14:23 -06:00
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
Thaddeus Crews b5ff3b5e3b Merge pull request #116662 from KoBeWi/make_some_noise
Clean up `_validate_property()` implementations
2026-02-24 09:29:40 -06:00
Thaddeus Crews 6e96b028e1 Merge pull request #116676 from TokageItLab/safe-finished
Check `playback_queue` existance after emit `animation_finished` signal
2026-02-24 09:29:38 -06:00