You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Fixes revert button on exported node properties on inherited nodes.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user