Mesh Deform Modifier
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 12 Nov 2007 09:12:37 +0000 (09:12 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 12 Nov 2007 09:12:37 +0000 (09:12 +0000)
====================

Forgot to uncomment line again for the weight threshold before I committed,
this should save some time and memory space.

source/blender/src/meshlaplacian.c

index c689306e8482cb34309e6333e329b9b5a1d25faa..5d15dbf47b068365995329a87c6f3e0d2e63f3e8 100644 (file)
@@ -1617,7 +1617,7 @@ static void meshdeform_matrix_solve(MeshDeformBind *mdb)
 
                                /* dynamic bind */
                                for(b=0; b<mdb->size3; b++) {
-                                       if(mdb->phi[b] >= 0.0f) { //MESHDEFORM_MIN_INFLUENCE) {
+                                       if(mdb->phi[b] >= MESHDEFORM_MIN_INFLUENCE) {
                                                inf= BLI_memarena_alloc(mdb->memarena, sizeof(*inf));
                                                inf->vertex= a;
                                                inf->weight= mdb->phi[b];