فهرست منبع

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