瀏覽代碼

Merge pull request #83934 from KoBeWi/give_back_animations_to_animation_editor

Fix animation track paths updated by scene dock
Rémi Verschelde 1 年之前
父節點
當前提交
dc3a643541
共有 1 個文件被更改,包括 5 次插入0 次删除
  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);