* smooth wasn't working with strengths below .5

This commit is contained in:
Jason Wilkins
2010-07-15 05:53:11 +00:00
parent 82b55d9391
commit a5aa3ff795

View File

@@ -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) {