Page MenuHome

Support flipping sides in mesh bisect
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Sep 13 2021, 3:57 PM.

Details

Summary

Changing active side was introduced in rB7ff6bfd1e0af: UI: Allow changing the active side of line gestures but was never
working for tools/operators other than the sculpt line mask tool.

While for most tools/operators this actually does not make sense, the
bisect operator can actually benefit from it.

thx @Campbell Barton (campbellbarton) for additional input!

Diff Detail

Repository
rB Blender
Branch
T91320_b (branched from master)
Build Status
Buildable 16974
Build 16974: arc lint + arc unit

Event Timeline

Philipp Oeser (lichtwerk) requested review of this revision.Sep 13 2021, 3:57 PM
Philipp Oeser (lichtwerk) created this revision.
This revision is now accepted and ready to land.Sep 13 2021, 4:03 PM

only support flipping if we are clearing either side

source/blender/editors/mesh/editmesh_bisect.c
151

clear_inner != clear_outer - since if both are true, the side doesn't matter.

if ((clear_inner != clear_outer) || fill) {...}

improve condition for when to use flipping

Philipp Oeser (lichtwerk) marked an inline comment as done.Sep 13 2021, 4:24 PM