浏览代码

- 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,