Archived
1
Fork 0

Use the app domain to load scene

This commit is contained in:
redstrate 2021-07-19 07:16:55 -04:00
parent 8015c52f78
commit 078b66fc68

View file

@ -209,7 +209,7 @@ void CutsceneEditor::drawUI() {
if(ImGui::Button("Change scene")) { if(ImGui::Button("Change scene")) {
open_asset<Scene>(AssetType::Scene, [](prism::path path) { open_asset<Scene>(AssetType::Scene, [](prism::path path) {
currentShot->scene = engine->load_scene(path); currentShot->scene = engine->load_scene(prism::app_domain / path);
}); });
} }