[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [28317] trunk/blender/source/blender/ editors/mesh/loopcut.c: Fix [#22099] Interactive Loopcut hs anoyin problem

Matt Ebb matt at mke3.net
Wed Apr 21 06:21:29 CEST 2010


Revision: 28317
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28317
Author:   broken
Date:     2010-04-21 06:21:27 +0200 (Wed, 21 Apr 2010)

Log Message:
-----------
Fix [#22099] Interactive Loopcut hs anoyin problem

Made the loop cut confirmation (when finding an edge ring to cut) happen on 
mouse press, rather than release.

This has a nice side effect when using the 'release confirm' option, combining 
the two steps into one - with this on you can click once to immediately place the 
cut in the center, or click+drag to move the cut line where you want it to.

See: http://mke3.net/blender/devel/2.5/loopcut_releaseconfirm.mov

Modified Paths:
--------------
    trunk/blender/source/blender/editors/mesh/loopcut.c

Modified: trunk/blender/source/blender/editors/mesh/loopcut.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/loopcut.c	2010-04-21 02:48:49 UTC (rev 28316)
+++ trunk/blender/source/blender/editors/mesh/loopcut.c	2010-04-21 04:21:27 UTC (rev 28317)
@@ -413,7 +413,7 @@
 
 	switch (event->type) {
 		case LEFTMOUSE: /* confirm */ // XXX hardcoded
-			if (event->val == KM_RELEASE) {
+			if (event->val == KM_PRESS) {
 				/* finish */
 				ED_region_tag_redraw(lcd->ar);
 				





More information about the Bf-blender-cvs mailing list