forked from 1b-agent/opencadstudio-upstream
Keep linear dimensions associated with sources
This commit is contained in:
1 parent
9fdc920234
commit
a30010cb3e
4 files changed
+266
-2
No files matched your search
@@ -22,6 +22,7 @@ pub mod view;
|
||||
mod boundary;
|
||||
mod camera_ops;
|
||||
pub(crate) mod centerline;
|
||||
pub(crate) mod dimension_assoc;
|
||||
pub(crate) mod centermark;
|
||||
mod entity;
|
||||
mod group_layer;
|
||||
@@ -2400,6 +2401,11 @@ impl Scene {
|
||||
changes.push(change);
|
||||
}
|
||||
}
|
||||
for change in self.refresh_associative_dimensions(&changes) {
|
||||
if !changes.iter().any(|(handle, _)| *handle == change.0) {
|
||||
changes.push(change);
|
||||
}
|
||||
}
|
||||
for change in self.refresh_associative_hatches(&changes) {
|
||||
if !changes.iter().any(|(handle, _)| *handle == change.0) {
|
||||
changes.push(change);
|
||||
|
||||
Reference in new issue
Block a user