fix: resolve annotation pull request findings

This commit is contained in:
Hakan Seven committed 2026-09-14 20:16:46 +03:00
1 parent 293d0796fb
commit 6c0badbdc8
10 files changed
+407 -425

No files matched your search

+21
View File
@@ -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