- fbx: fix bug that caused vertex colors to be not loaded correctly.
parent
f5b9b0eab4
commit
ec50632f2e
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue