Fix/Workaround T40102: RMB on vertex & GKey, acts as double-G
This commit is contained in:
@@ -994,7 +994,11 @@ int transformEvent(TransInfo *t, const wmEvent *event)
|
||||
}
|
||||
else {
|
||||
if (t->obedit && t->obedit->type == OB_MESH) {
|
||||
if ((t->mode == TFM_TRANSLATION) && (t->spacetype == SPACE_VIEW3D)) {
|
||||
if ((t->mode == TFM_TRANSLATION) &&
|
||||
(t->spacetype == SPACE_VIEW3D) &&
|
||||
/* prevents accidental select-tweak, gkey. see: T40102 */
|
||||
(ISMOUSE(t->launch_event) == 0))
|
||||
{
|
||||
resetTransModal(t);
|
||||
resetTransRestrictions(t);
|
||||
restoreTransObjects(t);
|
||||
|
||||
Reference in New Issue
Block a user