feat(control): publish selection changes to automation clients

This commit is contained in:
ysdirector committed 2026-10-10 07:51:18 +08:00
1 parent 2a2d9b55d9
commit 607e6f4c1b
3 files changed
+69 -1

No files matched your search

+2 -1
View File
@@ -298,7 +298,8 @@ impl OpenCADStudio {
}
self.last_plugin_selection = Some(key);
let handles = self.tabs[i].scene.selected_handles_in_order();
crate::plugin::v4_support::publish_selection_changed_v4(tab_id, handles);
crate::plugin::v4_support::publish_selection_changed_v4(tab_id, handles.clone());
self.control_record_selection_event(&handles);
}
/// Refresh the shared V4 document after built-in geometry edits. Plugin