浏览代码

Fix animation track paths updated by scene dock

kobewi 1 年之前
父节点
当前提交
294ce2d2a7
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      editor/scene_tree_dock.cpp

+ 5 - 0
editor/scene_tree_dock.cpp

@@ -1729,6 +1729,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);