[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30366] trunk/blender/source/blender/ editors/sculpt_paint/sculpt.c: * smooth wasn' t working with strengths below .5
Jason Wilkins
Jason.A.Wilkins at gmail.com
Thu Jul 15 07:53:12 CEST 2010
Revision: 30366
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30366
Author: jwilkins
Date: 2010-07-15 07:53:11 +0200 (Thu, 15 Jul 2010)
Log Message:
-----------
* smooth wasn't working with strengths below .5
Modified Paths:
--------------
trunk/blender/source/blender/editors/sculpt_paint/sculpt.c
Modified: trunk/blender/source/blender/editors/sculpt_paint/sculpt.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/sculpt.c 2010-07-15 05:28:33 UTC (rev 30365)
+++ trunk/blender/source/blender/editors/sculpt_paint/sculpt.c 2010-07-15 05:53:11 UTC (rev 30366)
@@ -1169,7 +1169,7 @@
count = (int)(bstrength*max_iterations);
last = max_iterations*(bstrength - count*fract);
- for(iteration = 1; iteration <= count; ++iteration) {
+ for(iteration = 0; iteration <= count; ++iteration) {
#pragma omp parallel for schedule(guided) if (sd->flags & SCULPT_USE_OPENMP)
for(n=0; n<totnode; n++) {
if(ss->multires) {
More information about the Bf-blender-cvs
mailing list