Keep linear dimensions associated with sources

This commit is contained in:
ramox81 committed 2026-08-24 12:10:29 +03:00
1 parent 9fdc920234
commit a30010cb3e
4 files changed
+266 -2

No files matched your search

+6
View File
@@ -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);