Fixes revert button on exported node properties on inherited nodes.
This commit is contained in:
parent
8c7b98d452
commit
6696a0790c
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue