summaryrefslogtreecommitdiffstats
path: root/editor/editor_properties.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-09-26 08:31:01 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-09-26 08:31:01 +0200
commit563d22565462f35f3f592c0cdd1abd275ebe28ec (patch)
tree418f7b1eb77a5ea36dd1706f4f5698dd410ac95e /editor/editor_properties.cpp
parent4443b8f474c90a9055a09f51c91e067322e1b0b8 (diff)
parenta46901278d735c2c7d8d2599558dc54b63ae2e07 (diff)
downloadredot-engine-563d22565462f35f3f592c0cdd1abd275ebe28ec.tar.gz
Merge pull request #82287 from jsjtxietian/fix-clear-error-when-unset-exported-typed-array-vai-editor
Fix can't unset exported typed array element when the type is set to Node
Diffstat (limited to 'editor/editor_properties.cpp')
-rw-r--r--editor/editor_properties.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_properties.cpp b/editor/editor_properties.cpp
index 2fa0641132..a197eb9dce 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();
}