diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-16 11:00:24 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-16 11:00:24 +0100 |
commit | 366b4094ec3de819ee9a3c2d15876359e9c1a1fb (patch) | |
tree | 4ad4f0c22b03347ff118e96cc11600a60b616d43 /editor/editor_inspector.cpp | |
parent | aa6ec763179e5bf1d1300aa72dc5f4172d810efa (diff) | |
parent | 6696a0790c1bf272c1bfe6853ea0e6f74a145718 (diff) |
Merge pull request #73350 from SaracenOne/node_pointer_revert_fix
Fixes revert button on exported node properties on inherited nodes
Diffstat (limited to 'editor/editor_inspector.cpp')
-rw-r--r-- | editor/editor_inspector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp index dd912eac42..4533bcc51c 100644 --- a/editor/editor_inspector.cpp +++ b/editor/editor_inspector.cpp @@ -693,7 +693,7 @@ void EditorProperty::gui_input(const Ref<InputEvent> &p_event) { bool is_valid_revert = false; Variant revert_value = EditorPropertyRevert::get_property_revert_value(object, property, &is_valid_revert); ERR_FAIL_COND(!is_valid_revert); - emit_changed(property, revert_value); + emit_changed(_get_revert_property(), revert_value); update_property(); } |