fix [#26756] "Release confirms" breaks marker functionality in Timeline

This commit is contained in:
Campbell Barton 2011-04-04 07:42:08 +00:00
parent 233d8594fc
commit 57d020f061

@ -2145,6 +2145,13 @@ int WM_modal_tweak_exit(wmEvent *evt, int tweak_event)
return 1;
}
}
else {
/* if the initial event wasn't a tweak event then
* ignore USER_RELEASECONFIRM setting: see [#26756] */
if(ELEM3(tweak_event, EVT_TWEAK_L, EVT_TWEAK_M, EVT_TWEAK_R) == 0) {
return 1;
}
}
}
else {
/* this is fine as long as not doing km-release, otherwise