[Bf-committers] Improved Loop Cut REVISED (CTRL/SHIFT/MMB)

Robert Tiess bf-committers@blender.org
Thu, 19 Feb 2004 20:33:21 -0500

Thanks, Martin!  When I first looked at the code I suspected the new
events might have belonged in a different area given the loop structure but
U elected to follow after where the CTRL key constrain had already been
established since I thought things might be there for a reason I didn't yet
understand.  There's a lot of that sense I get from going through all the
files <g> Your're right too about the additional events not working when
done anywhere else without further modifications, so I'm glad you were
able to straighten that out and get the mmb cut even quicker processed
it seems.  Those fast cuts really come in handy, especially during speed
model sessions and rapid model prototyping, so thanks for helping to
straighten things out, as always.


Martin Poirier wrote:

>Hey Robert
>While going over your patch, I noticed a little
>irregularity one of the loop cut loops (very loosely
>related to your patch). 
>While I was there, I modified your patch a bit. While
>it was good, the middlemouse check was out of the
>event check loop, which isn't really nice. However,
>doing otherwise didn't work since the event checks
>weren't after all the working part of the loop. I
>fixed that at the same time (that's the irregularity I
>mentioned). I also added some code to react to
>middlemouse in the first loop selection part of the
>code. It ten completely bypass the %cut selection and
>directly cuts at 50%. That is even faster than left
>clicking and then middle clicking. I also left middle
>click in the %cut selection loop, since that is the
>only way to have a Smooth loop cut at 50% without
>fiddling with the first loop even more.
>Patch there:
>But anyhow, it will most likely be commited to bf
>sooner or later.