You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Fix default NodePaths saved in scene
This commit is contained in:
@@ -4171,7 +4171,7 @@ void SceneTreeDock::_create_remap_for_node(Node *p_node, HashMap<Ref<Resource>,
|
||||
|
||||
bool is_valid_default = false;
|
||||
Variant orig = PropertyUtils::get_property_default_value(p_node, E.name, &is_valid_default, &states_stack);
|
||||
if (is_valid_default && !PropertyUtils::is_property_value_different(v, orig)) {
|
||||
if (is_valid_default && !PropertyUtils::is_property_value_different(p_node, v, orig)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user