Merge pull request #52943 from RandomShaper/property_pin_control_natural
This commit is contained in:
commit
665fa3d839
13 changed files with 571 additions and 342 deletions
|
|
@ -3623,7 +3623,7 @@ Error EditorNode::load_scene(const String &p_scene, bool p_ignore_broken_deps, b
|
|||
sdata->set_path(lpath, true); // take over path
|
||||
}
|
||||
|
||||
Node *new_scene = sdata->instantiate(PackedScene::GEN_EDIT_STATE_MAIN);
|
||||
Node *new_scene = sdata->instantiate(p_set_inherited ? PackedScene::GEN_EDIT_STATE_MAIN_INHERITED : PackedScene::GEN_EDIT_STATE_MAIN);
|
||||
|
||||
if (!new_scene) {
|
||||
sdata.unref();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue