[nostalgia/scene/studio] Cleanup

This commit is contained in:
2023-05-30 20:01:56 -05:00
parent 79e6838ab3
commit 220f272867
4 changed files with 14 additions and 20 deletions
+1 -5
View File
@@ -14,11 +14,7 @@ ox::Vector<studio::EditorMaker> StudioModule::editors(core::Context *ctx) noexce
{
{"nscn"},
[ctx](ox::CRStringView path) -> ox::Result<studio::BaseEditor*> {
try {
return ox::make<SceneEditorImGui>(ctx, path);
} catch (const ox::Exception &ex) {
return ex.toError();
}
return ox::makeCatch<SceneEditorImGui>(ctx, path);
}
},
};