Draft: fix DiscretizeEllipses preference inconsistency (#26953)

This commit is contained in:
Roy-043
2026-01-19 17:51:19 +01:00
committed by GitHub
parent 17ac7dab3d
commit 23ce17f4d0
2 changed files with 1 additions and 4 deletions

View File

@@ -514,9 +514,6 @@ instead of Draft or Part objects. This overrides the 'Import As' setting</string
<property name="text">
<string>Treat ellipses and splines as polylines</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="prefEntry" stdset="0">
<cstring>DiscretizeEllipses</cstring>
</property>

View File

@@ -4360,7 +4360,7 @@ def readPreferences():
dxfCreateDraft = False
# The legacy importer still uses these global variables, so we read them all.
dxfDiscretizeCurves = hGrp.GetBool("DiscretizeEllipses", True)
dxfDiscretizeCurves = hGrp.GetBool("DiscretizeEllipses", False)
dxfStarBlocks = hGrp.GetBool("dxfstarblocks", False)
dxfJoin = hGrp.GetBool("joingeometry", False)
dxfRenderPolylineWidth = hGrp.GetBool("renderPolylineWidth", False)