[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24727] branches/sculpt25/source/blender/ editors/sculpt_paint/sculpt.c: Sculpt branch:

Nicholas Bishop nicholasbishop at gmail.com
Sat Nov 21 18:22:03 CET 2009


Revision: 24727
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24727
Author:   nicholasbishop
Date:     2009-11-21 18:22:03 +0100 (Sat, 21 Nov 2009)

Log Message:
-----------
Sculpt branch:
Corrected the calculation of the center of the flatten effect.

Modified Paths:
--------------
    branches/sculpt25/source/blender/editors/sculpt_paint/sculpt.c

Modified: branches/sculpt25/source/blender/editors/sculpt_paint/sculpt.c
===================================================================
--- branches/sculpt25/source/blender/editors/sculpt_paint/sculpt.c	2009-11-21 17:21:46 UTC (rev 24726)
+++ branches/sculpt25/source/blender/editors/sculpt_paint/sculpt.c	2009-11-21 17:22:03 UTC (rev 24727)
@@ -1056,6 +1056,7 @@
 			for(i = 0; i < FLATTEN_SAMPLE_SIZE; ++i) {
 				if(vd.dist > outer_dist[i]) {
 					outer_index[i] = vd.index;
+					outer_dist[i] = vd.dist;
 					break;
 				}
 			}





More information about the Bf-blender-cvs mailing list