Merge pull request #105552 from adamwych/expose-get-node-list

Expose `AnimationNode(StateMachine/BlendTree).get_node_list()`
This commit is contained in:
Thaddeus Crews 2025-04-27 19:21:26 -05:00
commit 796b9caa09
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
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);