重整cmake

This commit is contained in:
2026-08-11 14:55:46 +08:00
parent f09bfa86a3
commit 5401a14708
24 changed files with 460 additions and 3369 deletions
+7 -9
View File
@@ -1756,8 +1756,7 @@ struct Gallery_Plot_Session::Impl {
return false;
}
else if constexpr (std::is_same_v<T, Gallery_Request>) {
return value.kind != Gallery_Request_Kind::Catalog &&
value.kind != Gallery_Request_Kind::Observe;
return value.kind != Gallery_Request_Kind::Catalog;
}
else {
return true;
@@ -1804,15 +1803,14 @@ struct Gallery_Plot_Session::Impl {
Web_Response_Type::Json,
Gallery_Protocol::error_json("请先发送 gallery_open")
};
if (request.kind == Gallery_Request_Kind::Observe) {
if (update_client_metrics(request.message)) {
++scheduler_revision;
scheduler_condition.notify_all();
}
if (request.kind == Gallery_Request_Kind::Refresh) {
update_client_metrics(request.message);
return Web_Response{
Web_Response_Type::Json,
Gallery_Protocol::observer_json(
scene->case_id(), scene->frame_mode(), scene->telemetry_json())
Gallery_Protocol::case_json(scene->case_id(), scene->state(),
scene->telemetry_json(),
"后端状态已手动刷新",
scene->frame_mode())
};
}
if (request.kind == Gallery_Request_Kind::Patch) {