You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Fix default NodePaths saved in scene
This commit is contained in:
@@ -480,7 +480,7 @@ bool EditorPropertyRevert::can_property_revert(Object *p_object, const StringNam
|
||||
return false;
|
||||
}
|
||||
Variant current_value = p_custom_current_value ? *p_custom_current_value : p_object->get(p_property);
|
||||
return PropertyUtils::is_property_value_different(current_value, revert_value);
|
||||
return PropertyUtils::is_property_value_different(p_object, current_value, revert_value);
|
||||
}
|
||||
|
||||
StringName EditorProperty::_get_revert_property() const {
|
||||
|
||||
Reference in New Issue
Block a user