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
No known key found for this signature in database
GPG key ID: 3859309771549028
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);