fix(grid): remove implicit drawing limits

This commit is contained in:
Hakan Seven 2026-07-29 17:21:57 +03:00
commit ad736e20ea
4 changed files with 26 additions and 4 deletions

View file

@ -438,7 +438,7 @@ impl DocumentTab {
pub(super) fn new_drawing(n: usize) -> Self {
let mut scene = Scene::new();
linetypes::populate_document(&mut scene.document);
// Override acadrust's imperial default limits (12×9) with A4 landscape.
// Paper layouts start as A4 landscape.
for obj in scene.document.objects.values_mut() {
if let acadrust::objects::ObjectType::Layout(l) = obj {
if l.name != "Model" {