大结构改完 中间层加完

This commit is contained in:
2026-08-14 19:24:28 +08:00
parent f5873855a3
commit 9c68029ade
26 changed files with 747 additions and 57 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ Gallery_Key_Input gallery_input(const Key_Event& event) {
return input;
}
std::unique_ptr<Gallery_Scene_Interface> make_gallery_scene(std::uint64_t session_id, std::string case_id, Gallery_Frame_Mode mode, bool automatic_low_latency) {
if (case_id == "datoviz_3d")
if (case_id.starts_with("datoviz_"))
return make_gallery_scene_3d(session_id, std::move(case_id), mode, automatic_low_latency);
return make_gallery_scene_2d(session_id, std::move(case_id), mode, automatic_low_latency);
}