Commit Graph

240 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
cdemirer 164f117c16 Fix UAF in animation_tree.cpp (AHashMap realloc) 2026-02-06 03:10:15 +03:00
kobewi f7b9703cbd Use actual class names in resource type hints 2026-01-29 21:07:56 +01:00
Silc Lizard (Tokage) Renew ecee746215 Hide animation library properties in inspector 2026-01-04 08:41:28 +09:00
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
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
LuoZhihao 8ba4656ea3 Compile out editor-only logic within validate_property in games 2025-06-12 12:54:19 +08: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
Nazarii afc923f415 Use AHashMap for RBMap nodes and HashMap input_activity 2025-04-26 13:21:12 +03:00
Yufeng Ying bebe037abf Add ConstIterator to Dictionary. 2025-03-13 01:28:46 +08:00
A Thousand Ships a1846b27ea Improve use of Ref.is_null/valid
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
Thaddeus Crews 0c80b47ef0 Merge pull request #97687 from YYF233333/animation
Convert Vector to LocalVector in animation system
2024-12-23 11:14:56 -06:00
Yyf2333 2f9a6636bd Convert Vector to LocalVector in animation system.
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:50:48 +08:00
Yufeng Ying 73d85f46c9 Remove unused headers in scene.
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:09 +08:00
Thaddeus Crews 3c6896fd2a Merge pull request #99181 from GuilhermeGSousa/animation-node-extension
Add animation node extension
2024-12-13 16:19:30 -06:00
Lukas Tenbrink b5c31ebb41 Add contains_char() for single-character 'contains' calls. 2024-12-06 20:23:35 +01:00
Guilherme Sousa d7462d223c Add animation node extension 2024-12-05 04:27:16 -08:00
rune-scape d58b2e879f Get rid of easily removable uses of const_cast 2024-12-01 17:50:13 -08:00
Silc Lizard (Tokage) Renew 0c1f970adb Add advance_on_start option to NodeAnimation 2024-11-12 04:40:15 +09:00
nazarii 76208f7155 Implement array based hash map 2024-10-24 21:34:12 +03:00
A Thousand Ships 9dc231366d Fix super call in various get_configuration_warnings methods 2024-09-05 16:08:35 +02:00
nazarii 3580ced21e Optimize animations 2024-08-30 19:18:56 +03:00
Silc Lizard (Tokage) Renew e16808cd69 Make NodeTimeInfo be not stored in tscn 2024-07-28 15:00:50 +09:00
kobewi a345160ab3 Fix wrong usage of parameters_base_path StringName 2024-05-30 12:03:43 +02:00
kobewi 413c11357d Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
kobewi a262d2d881 Add shorthand for using singleton string names 2024-05-11 18:53:08 +02:00
A Thousand Ships 955d5affa8 Reduce and prevent unnecessary random-access to List
Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when
accessing a single element)

* Removed subscript operator, in favor of a more explicit `get`
* Added conversion from `Iterator` to `ConstIterator`
* Remade existing operations into other solutions when applicable
2024-05-04 16:08:55 +02:00
Silc Lizard (Tokage) Renew 04dd299cba Skeleton3D: Add SkeletonModifier / Deprecate Override / Separate PB 2024-04-05 01:28:26 +09:00
Hendrik Brucker a81561cbd9 Add GraphFrame and integrate it in VisualShader 2024-04-04 15:11:00 +02:00
Rémi Verschelde f8bae10be6 Merge pull request #87171 from TokageItLab/retrieve-time-info-from-anim-tree
Rework AnimationNode process for retrieving the semantic time info
2024-03-24 01:12:42 +01:00
Silc Lizard (Tokage) Renew 6dd410854c Rework AnimationNode process for retrieving the semantic time info 2024-03-20 22:52:26 +09:00
Micky 3c371b989f Add autocompletion to AnimationNode 2024-03-01 17:07:02 +01:00
Rémi Verschelde efa4d0aabf Merge pull request #86321 from jsjtxietian/fix-blendnode-crash
Fix `blend_node` crash with invalid AnimationNode reference
2024-02-22 11:22:56 +01:00
jsjtxietian 65c8af53a1 Fix blend_node crash with invalid p_node 2024-02-22 12:56:21 +08:00