diff options
Diffstat (limited to 'source/blender/editors/transform/transform.c')
-rw-r--r-- | source/blender/editors/transform/transform.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index 5667b774b71..b88c388c257 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -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); |