Add files via upload

forcing a new build
pull/953/head
TrianglesPCT 2016-07-25 23:04:08 -06:00 committed by GitHub
parent 667aa37fdd
commit 66c1a176de
1 changed files with 1 additions and 1 deletions

View File

@ -1118,7 +1118,7 @@ void BlenderImporter::ConvertMesh(const Scene& /*in*/, const Object* /*obj*/, co
const aiFace& f = out->mFaces[out->mNumFaces++];
aiColor4D* vo = &out->mColors[0][out->mNumVertices];
const ai_real scaleZeroToOne = 1.f / 255.f;
const ai_real scaleZeroToOne = 1.f/255.f;
for (unsigned int j = 0; j < f.mNumIndices; ++j,++vo,++out->mNumVertices) {
const MLoopCol& col = mesh->mloopcol[v.loopstart + j];
vo->r = ai_real(col.r) * scaleZeroToOne;