+ fixed indentation in Draft DXF importer

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5078 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
yorikvanhavre 2011-10-28 15:23:35 +00:00
parent bb29938c7f
commit 2e149d05c7

View File

@ -228,7 +228,6 @@ class fcformat:
else:
obj.ViewObject.LineColor = self.col
obj.ViewObject.LineWidth = self.lw
elif self.paramstyle == 2:
if textmode:
if dxfobj.color_index == 256: cm = self.getGroupColor(dxfobj)[:3]
@ -804,7 +803,6 @@ def processdxf(document,filename):
p2 = FreeCAD.Vector(x3,y2,z2)
else:
p2 = FreeCAD.Vector(x2,y3,z2)
newob = doc.addObject("App::FeaturePython","Dimension")
lay.addObject(newob)
Dimension(newob)
@ -1018,7 +1016,6 @@ def writeMesh(ob,dxfobject):
64, color=getACI(ob),
layer=getGroup(ob,exportList)))
def export(objectslist,filename,nospline=False):
"called when freecad exports a file. If nospline=True, bsplines are exported as straight segs"
global exportList