Arch: Small fix in section plane's Drawing view object

This commit is contained in:
Yorik van Havre 2016-12-10 11:23:04 -02:00
parent 0ff231c0d4
commit 223dd70b99

View File

@ -589,7 +589,11 @@ class _ArchDrawingView:
def execute(self, obj):
if hasattr(obj,"Source"):
if obj.Source:
svgbody = getSVG(obj.Source,obj.AlwaysOn,obj.RenderingMode,obj.ShowCut,obj.ShowFill,obj.Scale,obj.LineWidth,obj.FontSize)
if hasattr(obj,"AlwaysOn"):
a = obj.AlwaysOn
else:
a = False
svgbody = getSVG(obj.Source,a,obj.RenderingMode,obj.ShowCut,obj.ShowFill,obj.Scale,obj.LineWidth,obj.FontSize)
if svgbody:
result = '<g id="' + obj.Name + '"'
result += ' transform="'