[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30305] branches/soc-2010-jwilkins/source/ blender/editors/sculpt_paint/sculpt.c: * do_mesh_smooth_brush allocated proxy even though it doesn't use it
Jason Wilkins
Jason.A.Wilkins at gmail.com
Wed Jul 14 11:31:09 CEST 2010
Revision: 30305
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30305
Author: jwilkins
Date: 2010-07-14 11:31:09 +0200 (Wed, 14 Jul 2010)
Log Message:
-----------
* do_mesh_smooth_brush allocated proxy even though it doesn't use it
Modified Paths:
--------------
branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/sculpt.c
Modified: branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/sculpt.c
===================================================================
--- branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/sculpt.c 2010-07-14 09:01:31 UTC (rev 30304)
+++ branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/sculpt.c 2010-07-14 09:31:09 UTC (rev 30305)
@@ -1023,9 +1023,6 @@
Brush *brush = paint_brush(&sd->paint);
PBVHVertexIter vd;
SculptBrushTest test;
- float (*proxy)[3];
-
- proxy= BLI_pbvh_node_add_proxy(ss->pbvh, node)->co;
CLAMP(bstrength, 0.0f, 1.0f);
@@ -1318,7 +1315,6 @@
float val[3];
sub_v3_v3v3(val, test.location, vd.co);
- //mul_v3_v3(val, ss->cache->scale);
mul_v3_v3fl(proxy[vd.i], val, fade);
if(vd.mvert)
More information about the Bf-blender-cvs
mailing list