Fixed bug in instance state ordering, closes #3904
This commit is contained in:
parent
41a26528e4
commit
8e1c0f287d
|
@ -375,7 +375,7 @@ Error SceneState::_parse_node(Node *p_owner,Node *p_node,int p_parent_idx, Map<S
|
||||||
PackState ps;
|
PackState ps;
|
||||||
ps.node=node;
|
ps.node=node;
|
||||||
ps.state=state;
|
ps.state=state;
|
||||||
pack_state_stack.push_front(ps);
|
pack_state_stack.push_back(ps);
|
||||||
instanced_by_owner=false;
|
instanced_by_owner=false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -545,6 +545,7 @@ https://github.com/godotengine/godot/issues/3127
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (exists) {
|
if (exists) {
|
||||||
|
|
||||||
//check if already exists and did not change
|
//check if already exists and did not change
|
||||||
|
@ -556,6 +557,7 @@ https://github.com/godotengine/godot/issues/3127
|
||||||
if (Math::abs(a-b)<CMP_EPSILON)
|
if (Math::abs(a-b)<CMP_EPSILON)
|
||||||
continue;
|
continue;
|
||||||
} else if (bool(Variant::evaluate(Variant::OP_EQUAL,value,original))) {
|
} else if (bool(Variant::evaluate(Variant::OP_EQUAL,value,original))) {
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -830,12 +830,10 @@ void EditorFileSystem::_scan_fs_changes(EditorFileSystemDirectory *p_dir,const S
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
da->list_dir_end();
|
da->list_dir_end();
|
||||||
memdelete(da);
|
memdelete(da);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for(int i=0;i<p_dir->files.size();i++) {
|
for(int i=0;i<p_dir->files.size();i++) {
|
||||||
|
|
Loading…
Reference in New Issue