had trouble rebasing so added tanderson's commits by copy paste method

This commit is contained in:
Daniel Falck
2014-04-19 15:15:39 -07:00
committed by Yorik van Havre
parent 3387992358
commit 3abe4d460d
2 changed files with 31 additions and 20 deletions

View File

@@ -4193,11 +4193,11 @@ class _Shape2DView(_DraftObject):
if obj.HiddenLines:
for g in groups[5:]:
edges.append(g)
#return Part.makeCompound(edges)
if hasattr(obj,"Tessellation"):
return DraftGeomUtils.cleanProjection(Part.makeCompound(edges),obj.Tessellation)
else:
return DraftGeomUtils.cleanProjection(Part.makeCompound(edges))
return Part.makeCompound(edges)
#if hasattr(obj,"Tessellation"):
#return DraftGeomUtils.cleanProjection(Part.makeCompound(edges),obj.Tessellation)
#else:
#return DraftGeomUtils.cleanProjection(Part.makeCompound(edges))
def execute(self,obj):
import DraftGeomUtils