Fix #116188: Symmetry breaks the Puff hair sculpting tool
Caused by 1b19f62917 .
Above commit didnt max the weight for each curve for each symmetry run
(so was just using the max it found for each run, overwriting the
previous run).
Pull Request: https://projects.blender.org/blender/blender/pulls/116221
This commit is contained in:
committed by
Philipp Oeser
parent
9097f1c62d
commit
ff7b8f3412
@@ -213,7 +213,7 @@ struct PuffOperationExecutor {
|
|||||||
brush_, dist_to_brush_re, brush_radius_re);
|
brush_, dist_to_brush_re, brush_radius_re);
|
||||||
math::max_inplace(max_weight, radius_falloff);
|
math::max_inplace(max_weight, radius_falloff);
|
||||||
}
|
}
|
||||||
r_curve_weights[curve_i] = max_weight;
|
math::max_inplace(r_curve_weights[curve_i], max_weight);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user