Explorar el Código

Merge pull request #4907 from jocabola/dev

Fixed VertexColors support in FBX converter
Mr.doob hace 11 años
padre
commit
21235017e8
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      utils/converters/fbx/convert_to_threejs.py

+ 3 - 0
utils/converters/fbx/convert_to_threejs.py

@@ -860,6 +860,9 @@ def extract_fbx_vertex_colors(mesh):
                 vertexId += 1
             color_indices.append(poly_colors)
 
+        layered_color_indices.append( color_indices )
+        layered_color_values.append( color_values )
+
     color_values = []
     color_indices = []