Skip to content

Commit

Permalink
Arch: small bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Sep 3, 2019
1 parent 3f31c1d commit cf9bbe1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Arch/ArchSectionPlane.py
Expand Up @@ -57,7 +57,7 @@ def QT_TRANSLATE_NOOP(ctxt,txt):
# It also contains functionality to produce SVG rendering of
# section planes, to be used in TechDraw and Drawing modules

ISRENDERING = False # flag to prevent concurrent runsof the coin renderer
ISRENDERING = False # flag to prevent concurrent runs of the coin renderer

def makeSectionPlane(objectslist=None,name="Section"):

Expand Down Expand Up @@ -1177,7 +1177,7 @@ def execute(self, obj):

if hasattr(obj,"Source"):
if obj.Source:
svgbody = getSVG(section=obj.Source,
svgbody = getSVG(source=obj.Source,
renderMode=obj.RenderingMode,
allOn=getattr(obj, 'AlwaysOn', False),
showHidden=obj.ShowCut,
Expand Down

0 comments on commit cf9bbe1

Please sign in to comment.