mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Fix default NodePaths saved in scene
This commit is contained in:
parent
0d11108a01
commit
be111004dd
7 changed files with 91 additions and 12 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue