From ce943982ec2a5dfd0d3227ebba8f900963653f47 Mon Sep 17 00:00:00 2001 From: furti Date: Wed, 14 Aug 2019 16:25:38 +0200 Subject: [PATCH] Arch: Fix missing cache value for SectionPlane When the Arch SectionPlane was rendered via TechDraw in Solid mode, the last parameter "fillSpaces" was not set for the svgcache. So the next render operation threw an exeption because there where only 4 instead of 5 elements in the cache list. --- 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 11507159ff..dad02306d3 100644 --- a/src/Mod/Arch/ArchSectionPlane.py +++ b/src/Mod/Arch/ArchSectionPlane.py @@ -298,7 +298,7 @@ def getSVG(section, renderMode="Wireframe", allOn=False, showHidden=False, scale svgcache += render.getHiddenSVG(linewidth="SVGLINEWIDTH") svgcache += '\n' # print(render.info()) - section.Proxy.svgcache = [svgcache,renderMode,showHidden,showFill] + section.Proxy.svgcache = [svgcache,renderMode,showHidden,showFill,fillSpaces] else: if not svgcache: