mirror of
https://github.com/godotengine/godot.git
synced 2024-12-12 22:25:01 +00:00
Delete the node in AnimationTreePlayer.remove_node
This commit is contained in:
parent
7a7de3ce12
commit
859922a5f0
@ -1314,6 +1314,7 @@ void AnimationTreePlayer::remove_node(const StringName &p_node) {
|
||||
}
|
||||
}
|
||||
|
||||
memdelete(node_map[p_node]);
|
||||
node_map.erase(p_node);
|
||||
|
||||
_clear_cycle_test();
|
||||
|
Loading…
Reference in New Issue
Block a user