diff --git a/editor/editor_properties.cpp b/editor/editor_properties.cpp index 2a82b2cde434..34598197d40c 100644 --- a/editor/editor_properties.cpp +++ b/editor/editor_properties.cpp @@ -2818,7 +2818,7 @@ void EditorPropertyNodePath::_node_assign() { } void EditorPropertyNodePath::_node_clear() { - emit_changed(get_edited_property(), NodePath()); + emit_changed(get_edited_property(), Variant()); update_property(); }