Merge pull request #73350 from SaracenOne/node_pointer_revert_fix

Fixes revert button on exported node properties on inherited nodes
This commit is contained in:
Rémi Verschelde 2023-02-16 11:00:24 +01:00
commit 366b4094ec
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -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();
}