* smooth wasn't working with strengths below .5
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user