Use the app domain to load scene
This commit is contained in:
parent
8015c52f78
commit
078b66fc68
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ void CutsceneEditor::drawUI() {
|
|||
|
||||
if(ImGui::Button("Change scene")) {
|
||||
open_asset<Scene>(AssetType::Scene, [](prism::path path) {
|
||||
currentShot->scene = engine->load_scene(path);
|
||||
currentShot->scene = engine->load_scene(prism::app_domain / path);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue