From 078b66fc680b0c835627d93dab7a0041fdec8260 Mon Sep 17 00:00:00 2001 From: redstrate Date: Mon, 19 Jul 2021 07:16:55 -0400 Subject: [PATCH] Use the app domain to load scene --- tools/cutsceneeditor/src/cutsceneeditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cutsceneeditor/src/cutsceneeditor.cpp b/tools/cutsceneeditor/src/cutsceneeditor.cpp index ebd6b1d..6cef5dd 100755 --- a/tools/cutsceneeditor/src/cutsceneeditor.cpp +++ b/tools/cutsceneeditor/src/cutsceneeditor.cpp @@ -209,7 +209,7 @@ void CutsceneEditor::drawUI() { if(ImGui::Button("Change scene")) { open_asset(AssetType::Scene, [](prism::path path) { - currentShot->scene = engine->load_scene(path); + currentShot->scene = engine->load_scene(prism::app_domain / path); }); }