Arch: Small fix in section plane's Drawing view object
This commit is contained in:
parent
0ff231c0d4
commit
223dd70b99
|
@ -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="'
|
||||
|
|
Loading…
Reference in New Issue
Block a user