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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user