From 67fdbfdbebca75ca73efe2db4da2c7373a60b68b Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Thu, 19 Jan 2017 17:54:58 -0200 Subject: [PATCH] Arch: Fixed bug in Section Plane + TechDraw view when the section is empty --- src/Mod/Arch/ArchSectionPlane.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Arch/ArchSectionPlane.py b/src/Mod/Arch/ArchSectionPlane.py index 48e8a57c2d..a71f125aac 100644 --- a/src/Mod/Arch/ArchSectionPlane.py +++ b/src/Mod/Arch/ArchSectionPlane.py @@ -137,7 +137,7 @@ def getSVG(section,allOn=False,renderMode="Wireframe",showHidden=False,showFill= If showFill is True, the cut areas get filled with a pattern""" if not section.Objects: - return + return "" import Part,DraftGeomUtils p = FreeCAD.Placement(section.Placement) direction = p.Rotation.multVec(FreeCAD.Vector(0,0,1))