Fix/Workaround T40102: RMB on vertex & GKey, acts as double-G
This commit is contained in:
parent
47e905725e
commit
d1526da787
Notes:
blender-bot
2024-05-08 11:36:44 +02:00
Referenced by commit74f77a2956
, This reverts commitd1526da787
. Referenced by issue #40102, Right-Click on vertex and inmediatly "G" key, acts as double-G.
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue