INNER CODE UNIT · C++
edits_uuid
oxylusengine/Oxylus · OxylusEditor/src/Editor.cpp:446
edits_uuid = scene->get_scene()->terrain_edits_ref;
}
auto& job_man = App::get_job_manager();
job_man.push_job_name("Saving scene");
job_man.submit(Job::create([scene, scene_path, edits_path, edits_uuid] {
scene->get_scene()->save_to_file(scene_path);
if (edits_uuid) {
export_asset(App::mod<AssetManager>(), edits_uuid, edits_path);
}
scene->set_path(scene_path);
}));
job_man.pop_job_name();
});
}
void Editor::save_scene_as() {
ZoneScoped;