Преглед на файлове

- fbx: fix bug that caused vertex colors to be not loaded correctly.

Alexander Gessler преди 13 години
родител
ревизия
ec50632f2e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      code/FBXMeshGeometry.cpp

+ 1 - 1
code/FBXMeshGeometry.cpp

@@ -405,7 +405,7 @@ void MeshGeometry::ReadVertexDataColors(std::vector<aiColor4D>& colors_out, cons
 	const std::string& ReferenceInformationType)
 {
 	ResolveVertexDataArray(colors_out,source,MappingInformationType,ReferenceInformationType,
-		"Color",
+		"Colors",
 		"ColorIndex",
 		vertices.size(),
 		mapping_counts,