Arch: ArchSectionPlane.py LGTM incorrect variable fix [skip ci]

LGTM reported `For loop variable 'objs' is not used in the loop body.`
This commit is contained in:
luz.paz
2019-10-22 09:25:55 -04:00
committed by Yorik van Havre
parent 0c038dfbee
commit 95af9ed202

View File

@@ -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"