diff options
author | Jason Wilkins <Jason.A.Wilkins@gmail.com> | 2010-07-15 09:53:11 +0400 |
---|---|---|
committer | Jason Wilkins <Jason.A.Wilkins@gmail.com> | 2010-07-15 09:53:11 +0400 |
commit | a5aa3ff7958ffb5e4778e7f09fcbbfe7f0296f65 (patch) | |
tree | 7a26c7815956b3907671b9c63ec03e73f0791eb3 /source | |
parent | 82b55d93919101ac7e6e02aaf1bf93753f42d77a (diff) |
* smooth wasn't working with strengths below .5
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index fcc4fbab9bd..9577eb4eea2 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -1169,7 +1169,7 @@ static void smooth(Sculpt *sd, SculptSession *ss, PBVHNode **nodes, int totnode, 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) { |