Skip to content

Commit a0375dd

Browse files
committed
Merge pull request godotengine#119063 from Ryan-000/fix-animation-3
Animation: Only erase properties for a specific node
2 parents f1ea87c + 0976e08 commit a0375dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scene/animation/animation_tree.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@ void AnimationTree::_animation_node_renamed(const ObjectID &p_oid, const String
790790

791791
void AnimationTree::_animation_node_removed(const ObjectID &p_oid, const StringName &p_node) {
792792
for (const StringName &parent_path : instance_paths[p_oid]) {
793-
String base_path = String(parent_path) + String(p_node);
793+
String base_path = String(parent_path) + String(p_node) + "/";
794794

795795
for (const PropertyInfo &E : properties) {
796796
if (E.name.begins_with(base_path)) {

0 commit comments

Comments
 (0)