Merge pull request #1687 from YsDirector/pr/d2-selection-events

Publish selection changes to automation clients
This commit is contained in:
Hakan Seven committed 2026-10-11 23:25:24 +03:00
commit 4a47777571
3 files changed
+69 -1

No files matched your search

+2 -1
View File
@@ -299,7 +299,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