forked from 1b-agent/opencadstudio-upstream
fix(model): correct primitive creation and grips
This commit is contained in:
1 parent
59ca0f693f
commit
c4dfa7567d
13 files changed
+353
-84
No files matched your search
@@ -1621,6 +1621,11 @@ pub trait CadCommand: Send {
|
||||
/// during TRIM and trims during EXTEND, #336). Default no-op.
|
||||
fn set_shift(&mut self, _shift: bool) {}
|
||||
|
||||
/// Constrain the cursor to a construction axis for this step.
|
||||
fn cursor_axis(&self) -> Option<(DVec3, DVec3)> {
|
||||
None
|
||||
}
|
||||
|
||||
/// Mid-command Ctrl+Z: a multi-point drawing command can take the undo
|
||||
/// itself (PLINE pops its last vertex) instead of the document undo
|
||||
/// swallowing the whole in-progress object. `None` (default) lets the
|
||||
|
||||
Reference in new issue
Block a user