forked from 1b-agent/opencadstudio-upstream
fix(grid): remove implicit drawing limits
This commit is contained in:
1 parent
cd1378e6b2
commit
ad736e20ea
4 files changed
+26
-4
No files matched your search
+1
-1
@@ -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" {
|
||||
|
||||
Reference in new issue
Block a user