Browse Source

Added default layout name for dxfsettings

Kenric Nugteren 6 months ago
parent
commit
4ee7512e2d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      inabox.dxf/DxfUtils.cs

+ 1 - 1
inabox.dxf/DxfUtils.cs

@@ -24,7 +24,7 @@ public class DxfImportSettings
     {
     {
         ImageSize = imageSize ?? new(2048, 2048);
         ImageSize = imageSize ?? new(2048, 2048);
         SupportFolders = supportFolders;
         SupportFolders = supportFolders;
-        LayoutName = layoutName;
+        LayoutName = layoutName ?? "Model";
     }
     }
 }
 }