forked from 1b-agent/opencadstudio-upstream
Merge pull request #1687 from YsDirector/pr/d2-selection-events
Publish selection changes to automation clients
This commit is contained in:
commit
4a47777571
3 files changed
+69
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user