Browse Source

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

Alexander Gessler 13 years ago
parent
commit
ec50632f2e
1 changed files with 1 additions and 1 deletions
  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)
 	const std::string& ReferenceInformationType)
 {
 {
 	ResolveVertexDataArray(colors_out,source,MappingInformationType,ReferenceInformationType,
 	ResolveVertexDataArray(colors_out,source,MappingInformationType,ReferenceInformationType,
-		"Color",
+		"Colors",
 		"ColorIndex",
 		"ColorIndex",
 		vertices.size(),
 		vertices.size(),
 		mapping_counts,
 		mapping_counts,