forked from 1b-agent/opencadstudio-upstream
fix: resolve annotation pull request findings
This commit is contained in:
1 parent
293d0796fb
commit
6c0badbdc8
10 files changed
+407
-425
No files matched your search
@@ -1322,6 +1322,14 @@ pub enum DimensionEditOperation {
|
||||
Oblique(f64),
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy)]
|
||||
pub enum DimensionBreakOperation {
|
||||
Auto,
|
||||
Object(Handle),
|
||||
Manual(DVec3, DVec3),
|
||||
Remove,
|
||||
}
|
||||
|
||||
/// Returned by every `CadCommand` method to tell main.rs what to do.
|
||||
#[allow(dead_code)]
|
||||
pub enum CmdResult {
|
||||
@@ -1488,6 +1496,19 @@ pub enum CmdResult {
|
||||
source: Handle,
|
||||
point: DVec3,
|
||||
},
|
||||
EditDimensionBreak {
|
||||
dimensions: Vec<Handle>,
|
||||
operation: DimensionBreakOperation,
|
||||
},
|
||||
EditDimensionJog {
|
||||
dimension: Handle,
|
||||
point: Option<DVec3>,
|
||||
},
|
||||
SpaceDimensions {
|
||||
base: Handle,
|
||||
others: Vec<Handle>,
|
||||
spacing: Option<f64>,
|
||||
},
|
||||
/// Cancel: discard any preview and end the command.
|
||||
Cancel,
|
||||
/// End the command and begin in-place editing of the table cell under
|
||||
|
||||
Reference in new issue
Block a user