You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Add property value pinning
This commit is contained in:
@@ -3588,7 +3588,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->instance(PackedScene::GEN_EDIT_STATE_MAIN);
|
||||
Node *new_scene = sdata->instance(p_set_inherited ? PackedScene::GEN_EDIT_STATE_MAIN_INHERITED : PackedScene::GEN_EDIT_STATE_MAIN);
|
||||
|
||||
if (!new_scene) {
|
||||
sdata.unref();
|
||||
|
||||
Reference in New Issue
Block a user