forked from 1b-agent/opencadstudio-upstream
fix(blocks): preserve UCS transformations
Bake BEDIT frames into block-local geometry while keeping model and viewport UCS isolated. Normalize legacy nonzero block origins during load.
This commit is contained in:
1 parent
02d15f5d23
commit
2c64888048
22 files changed
+693
-41
No files matched your search
@@ -153,6 +153,9 @@ fn apply_transform(line: &mut Line, t: &EntityTransform) {
|
||||
EntityTransform::Mirror { p1, p2 } => {
|
||||
crate::scene::view::transform::mirror_xy_line(line, *p1, *p2);
|
||||
}
|
||||
EntityTransform::Affine(transform) => {
|
||||
acadrust::Entity::apply_transform(line, transform);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user