Draft: Fixed arc direction in SVG projections

This commit is contained in:
Yorik van Havre
2015-03-01 12:42:35 -03:00
parent fb5b578138
commit a2aaf1b37d
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: