[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29379] branches/soc-2010-jwilkins/source/ blender/editors/sculpt_paint/sculpt.c: grab and yank weren't identical, there was a bug in grab

Jason Wilkins Jason.A.Wilkins at gmail.com
Thu Jun 10 04:29:43 CEST 2010


Revision: 29379
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29379
Author:   jwilkins
Date:     2010-06-10 04:29:41 +0200 (Thu, 10 Jun 2010)

Log Message:
-----------
grab and yank weren't identical, there was a bug in grab

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-06-10 00:25:04 UTC (rev 29378)
+++ branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/sculpt.c	2010-06-10 02:29:41 UTC (rev 29379)
@@ -1395,7 +1395,7 @@
 
 		BLI_pbvh_vertex_iter_begin(ss->pbvh, nodes[n], vd, PBVH_ITER_UNIQUE) {
 			if(sculpt_brush_test(&test, origco[vd.i])) {
-				float fade = tex_strength(ss, brush, origco[vd.i], test.dist/3.0f)*bstrength;
+				float fade = tex_strength(ss, brush, origco[vd.i], test.dist)*bstrength;
 				float val[3];
 
 				mul_v3_v3fl(val, grab_delta, fade);





More information about the Bf-blender-cvs mailing list