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:
parent
02d15f5d23
commit
2c64888048
22 changed files with 693 additions and 41 deletions
|
|
@ -161,6 +161,9 @@ fn apply_transform(ole: &mut Ole2Frame, t: &EntityTransform) {
|
|||
ole.lower_right_corner.x = scale(ole.lower_right_corner.x, center.x as f64);
|
||||
ole.lower_right_corner.y = scale(ole.lower_right_corner.y, center.y as f64);
|
||||
}
|
||||
EntityTransform::Affine(transform) => {
|
||||
acadrust::Entity::apply_transform(ole, transform);
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue