fix list index out of range for color_per_vertex #2
@ -1994,7 +1994,7 @@ def importMesh_IndexedFaceSet(geom, ancestry):
|
||||
for v in f
|
||||
for cco in rgb[v]]
|
||||
elif color_per_vertex: # Color per vertex without index
|
||||
cco = [cco for f in processPerVertexIndex(color_index)
|
||||
cco = [cco for f in faces
|
||||
for (i, v) in enumerate(f)
|
||||
for cco in rgb[i]]
|
||||
elif color_index: # Color per face with index
|
||||
|
Loading…
Reference in New Issue
Block a user