fix blender/blender-addons#105398 include case faces same color #1
@ -1985,6 +1985,10 @@ def importMesh_IndexedFaceSet(geom, ancestry):
|
|||||||
cco = [cco for (i, f) in enumerate(faces)
|
cco = [cco for (i, f) in enumerate(faces)
|
||||||
for j in f
|
for j in f
|
||||||
for cco in rgb[color_index[i]]]
|
for cco in rgb[color_index[i]]]
|
||||||
|
elif len(faces) > len(rgb): # static Color per face without index, when all faces have the same color
|
||||||
|
cco = [cco for (i, f) in enumerate(faces)
|
||||||
|
for j in f
|
||||||
|
for cco in rgb[0]]
|
||||||
else: # Color per face without index
|
else: # Color per face without index
|
||||||
cco = [cco for (i, f) in enumerate(faces)
|
cco = [cco for (i, f) in enumerate(faces)
|
||||||
for j in f
|
for j in f
|
||||||
|
Loading…
Reference in New Issue
Block a user