2
0
Эх сурвалжийг харах

-fix path clear in animation call param, closes #3448

Juan Linietsky 9 жил өмнө
parent
commit
9c4c6e4c4f

+ 3 - 0
tools/editor/animation_editor.cpp

@@ -262,6 +262,9 @@ public:
 
 		NodePath np=value;
 
+		if (np==NodePath())
+			return;
+
 		Node* root = EditorNode::get_singleton()->get_tree()->get_root();
 
 		Node* np_node = root->get_node(np);