Use new open_asset function to select scene in cutscene editor
This commit is contained in:
parent
b22447a931
commit
8015c52f78
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ void CutsceneEditor::drawUI() {
|
|||
ImGui::SameLine();
|
||||
|
||||
if(ImGui::Button("Change scene")) {
|
||||
platform::open_dialog(true, [](std::string path) {
|
||||
open_asset<Scene>(AssetType::Scene, [](prism::path path) {
|
||||
currentShot->scene = engine->load_scene(path);
|
||||
});
|
||||
}
|
||||
|
|
Reference in a new issue