Fix for crash with fc and quality < 5 (reported by Nudel)
authorDaniel Genrich <daniel.genrich@gmx.net>
Mon, 21 Jul 2008 13:47:42 +0000 (13:47 +0000)
committerDaniel Genrich <daniel.genrich@gmx.net>
Mon, 21 Jul 2008 13:47:42 +0000 (13:47 +0000)
intern/elbeem/intern/mvmcoords.cpp

index f8ae11ea71d9cd6c4c66a510455c07312f45c0ea..ac954b956d046b055e16418a4411857ed0b5cd21 100644 (file)
@@ -32,7 +32,9 @@ void MeanValueMeshCoords::calculateMVMCs(vector<ntlVec3Gfx> &reference_vertices,
        mNumVerts = (int)reference_vertices.size();
 
        for (vector<ntlVec3Gfx>::iterator iter = points.begin(); iter != points.end(); ++iter, ++i) {
+               /*
                if(i%(points.size()/10)==1) debMsgStd("MeanValueMeshCoords::calculateMVMCs",DM_MSG,"Computing weights, points: "<<i<<"/"<<points.size(),5 );
+               */
                tds.lastpos = *iter;
                tds.weights.resize(0);  // clear
                computeWeights(reference_vertices, tris, tds, numweights);