feat(sysvar): add DYNMODE system variable and command for Dynamic Input

This commit is contained in:
yztink committed 2026-10-02 21:01:02 -07:00
1 parent 3f54f2f494
commit c9d9f9c2bb
6 files changed
+83 -1

No files matched your search

+5
View File
@@ -101,6 +101,11 @@ impl OpenCADStudio {
self.snapper.snap3d_enabled = state.osnap3d_on;
self.snapper.enabled3d = state.snap3d_modes.clone();
self.dyn_input = state.dyn_input_on;
if self.dyn_input && self.dyn_mode <= 0 {
self.dyn_mode = 3;
} else if !self.dyn_input && self.dyn_mode > 0 {
self.dyn_mode = 0;
}
self.quick_properties = state.quick_props_on;
self.selection_cycling = state.selection_cycling_on;
self.sync_vport_display(self.active_tab);