Merge pull request #51193 from timothyqiu/atp-remove
memdelete the node in AnimationTreePlayer.remove_node
This commit is contained in:
commit
08b67aabb8
1 changed files with 1 additions and 0 deletions
|
@ -1314,6 +1314,7 @@ void AnimationTreePlayer::remove_node(const StringName &p_node) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
memdelete(node_map[p_node]);
|
||||||
node_map.erase(p_node);
|
node_map.erase(p_node);
|
||||||
|
|
||||||
_clear_cycle_test();
|
_clear_cycle_test();
|
||||||
|
|
Loading…
Reference in a new issue