GPv3: Soft mode for the Eraser tool #110310

Open
Amélie Fondevilla wants to merge 59 commits from amelief/blender:gpv3-erase-operator-soft-mode into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 2 additions and 9 deletions
Showing only changes of commit 070ee21ee3 - Show all commits

View File

@ -803,15 +803,8 @@ struct EraseOperationExecutor {
point_side,
point_after_side);
if (ELEM(point_side, PointCircleSide::Inside, PointCircleSide::InsideOutsideBoundary))
{
r_point_ring[src_last_point] = {radius_index, point_side};
}
if (ELEM(point_after_side,
PointCircleSide::Inside,
PointCircleSide::InsideOutsideBoundary)) {
r_point_ring[src_first_point] = {radius_index, point_after_side};
}
/* Note : we don't need to set the point side here, since it was already set by the
* former loop. */
if (nb_inter > 0) {
inter0.inside_outside_intersection = (inter0.factor > inter1.factor);