浏览代码

Add files via upload

forcing a new build
TrianglesPCT 9 年之前
父节点
当前提交
66c1a176de
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;