Skip to content

Commit

Permalink
Arch: ArchSectionPlane.py LGTM incorrect variable fix [skip ci]
Browse files Browse the repository at this point in the history
LGTM reported `For loop variable 'objs' is not used in the loop body.`
  • Loading branch information
luzpaz authored and yorikvanhavre committed Oct 25, 2019
1 parent 0c038df commit 95af9ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Arch/ArchSectionPlane.py
Expand Up @@ -648,7 +648,7 @@ def getCoinSVG(cutplane,objs,cameradata=None,linewidth=0.2,singleface=False,face
# but this creates artifacts in svg output, triangulation gets visible...
ldict = {}
if singleface:
for objs in objs:
for obj in objs:
if hasattr(obj,"ViewObject") and hasattr(obj.ViewObject,"Lighting"):
ldict[obj.Name] = obj.ViewObject.Lighting
obj.ViewObject.Lighting = "One side"
Expand Down

0 comments on commit 95af9ed

Please sign in to comment.