Browse Source

Add files via upload

forcing a new build
TrianglesPCT 9 years ago
parent
commit
66c1a176de
1 changed files with 1 additions and 1 deletions
  1. 1 1
      code/BlenderLoader.cpp

+ 1 - 1
code/BlenderLoader.cpp

@@ -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;