port/PyAssimp/pyassimp/sample.py: rename innerloop variable to clarify intent since it shadowed outer variable

pull/2392/head
Charlie Gettys 2019-03-27 13:21:18 -04:00
parent 7930de9f37
commit ee79ac0f17
1 changed files with 2 additions and 2 deletions

View File

@ -50,8 +50,8 @@ def main(filename=None):
print(" colors:" + str(len(mesh.colors)))
tcs = mesh.texturecoords
if tcs.any():
for index, tc in enumerate(tcs):
print(" texture-coords "+ str(index) + ":" + str(len(tcs[index])) + "first3:" + str(tcs[index][:3]))
for tc_index, tc in enumerate(tcs):
print(" texture-coords "+ str(tc_index) + ":" + str(len(tcs[tc_index])) + "first3:" + str(tcs[tc_index][:3]))
else:
print(" no texture coordinates")