You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
SpatialEditorViewport::_create_instance: pass GEN_EDIT_STATE_INSTANCED to scene->instance()
This commit is contained in:
@@ -3121,7 +3121,7 @@ bool SpatialEditorViewport::_create_instance(Node *parent, String &path, const P
|
|||||||
if (!scene.is_valid()) { // invalid scene
|
if (!scene.is_valid()) { // invalid scene
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
instanced_scene = scene->instance();
|
instanced_scene = scene->instance(PackedScene::GEN_EDIT_STATE_INSTANCE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user