*fix bone weighting
authorAndre Susano Pinto <andresusanopinto@gmail.com>
Sun, 20 Sep 2009 16:49:05 +0000 (16:49 +0000)
committerAndre Susano Pinto <andresusanopinto@gmail.com>
Sun, 20 Sep 2009 16:49:05 +0000 (16:49 +0000)
forgot to call RE_rayobject_done

source/blender/editors/armature/meshlaplacian.c

index c994f7789a008139ad42d3c2cad3435e776a5317..436048f5427ad769701e99bda57fb9e5937e2c62 100644 (file)
@@ -422,6 +422,7 @@ static void heat_ray_tree_create(LaplacianSystem *sys)
                sys->heat.vface[mface->v3]= mface;
                if(mface->v4) sys->heat.vface[mface->v4]= mface;
        }
+       RE_rayobject_done(sys->heat.raytree); 
 }
 
 static int heat_ray_bone_visible(LaplacianSystem *sys, int vertex, int bone)