fix(automation): selection events are native-only like their caller

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Hakan SevenandClaude Opus 5.5 committed 2026-10-11 23:48:40 +03:00
1 parent 3cc3ead3a6
commit f4001b88e2
1 file changed
+1
+1
View File
@@ -436,6 +436,7 @@ impl OpenCADStudio {
/// Mirror a real selection change into the automation event stream. The
/// plugin host already publishes the V4 selection event; automation clients
/// need the same signal instead of polling `state`.
#[cfg(not(target_arch = "wasm32"))]
pub(super) fn control_record_selection_event(&mut self, handles: &[codec::Handle]) {
let (document_id, revision) = {
let tab = &self.tabs[self.active_tab];