From a46901278d735c2c7d8d2599558dc54b63ae2e07 Mon Sep 17 00:00:00 2001 From: jsjtxietian Date: Mon, 25 Sep 2023 14:23:05 +0800 Subject: [PATCH] Fix can't unset exported typed array element when the type is set to Node --- editor/editor_properties.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }