大结构改完 中间层加完
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user