Browse Source

Merge pull request #83934 from KoBeWi/give_back_animations_to_animation_editor

Fix animation track paths updated by scene dock
Rémi Verschelde 1 year ago
parent
commit
dc3a643541
1 changed files with 5 additions and 0 deletions
  1. 5 0
      editor/scene_tree_dock.cpp

+ 5 - 0
editor/scene_tree_dock.cpp

@@ -1758,6 +1758,11 @@ bool SceneTreeDock::_check_node_path_recursive(Node *p_root_node, Variant &r_var
 				break;
 			}
 
+			if (Object::cast_to<Animation>(resource)) {
+				// Animation resources are handled by animation editor.
+				break;
+			}
+
 			List<PropertyInfo> properties;
 			resource->get_property_list(&properties);