forked from 1b-agent/opencadstudio-upstream
Carry hatch origin through creation and pattern editing
This commit is contained in:
1 parent
dbd85c0559
commit
6272722baa
11 files changed
+42
-85
No files matched your search
@@ -387,6 +387,7 @@ impl HatchCommand {
|
||||
}
|
||||
}
|
||||
return HatchModel {
|
||||
pattern_origin: source.pattern_origin,
|
||||
render_instance: None,
|
||||
boundary: std::sync::Arc::new(rel),
|
||||
pattern,
|
||||
@@ -445,6 +446,7 @@ impl HatchCommand {
|
||||
}
|
||||
}
|
||||
HatchModel {
|
||||
pattern_origin: Some(self.default_origin),
|
||||
render_instance: None,
|
||||
boundary: std::sync::Arc::new(rel),
|
||||
pattern,
|
||||
@@ -969,6 +971,7 @@ impl GradientCommand {
|
||||
1.0e-6,
|
||||
);
|
||||
HatchModel {
|
||||
pattern_origin: None,
|
||||
render_instance: None,
|
||||
boundary: std::sync::Arc::new(rel),
|
||||
pattern: HatchPattern::Gradient {
|
||||
|
||||
Reference in new issue
Block a user