Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorMatt Ebb <matt@mke3.net>2010-04-21 08:21:27 +0400
committerMatt Ebb <matt@mke3.net>2010-04-21 08:21:27 +0400
commit10796a1a7bc457be794664ba70aa6625d560191c (patch)
treee4c2ed3493cdbebb5a87a2af02b62da22ca78e97 /source
parent3ad3d9e5caa561007ba6dfbea655a2940bb77ecd (diff)
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
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/mesh/loopcut.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/loopcut.c b/source/blender/editors/mesh/loopcut.c
index 0fa4c5dcdf1..703f3cd425f 100644
--- a/source/blender/editors/mesh/loopcut.c
+++ b/source/blender/editors/mesh/loopcut.c
@@ -413,7 +413,7 @@ static int ringcut_modal (bContext *C, wmOperator *op, wmEvent *event)
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);