1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Expose AnimationNode(StateMachine/BlendTree).get_node_list()

This commit is contained in:
Adam Wychowaniec
2025-04-19 02:09:29 +02:00
parent 2d3bdcac35
commit d193af78c5
8 changed files with 50 additions and 16 deletions

View File

@@ -139,8 +139,7 @@ void AnimationNodeBlendTreeEditor::update_graph() {
animations.clear();
List<StringName> nodes;
blend_tree->get_node_list(&nodes);
LocalVector<StringName> nodes = blend_tree->get_node_list();
for (const StringName &E : nodes) {
GraphNode *node = memnew(GraphNode);