Draft: Fixed arc direction in SVG projections

This commit is contained in:
Yorik van Havre
2015-03-01 12:42:35 -03:00
parent 77f6684dfe
commit df074d117e
2 changed files with 3 additions and 3 deletions

View File

@@ -255,7 +255,7 @@ class _ViewProviderSectionPlane:
elif prop == "LineWidth":
self.drawstyle.lineWidth = vobj.LineWidth
elif prop == "CutView":
if hasattr(vobj,"CutView"):
if hasattr(vobj,"CutView") and FreeCADGui.ActiveDocument.ActiveView:
sg = FreeCADGui.ActiveDocument.ActiveView.getSceneGraph()
if vobj.CutView:
if self.clip: