diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2004-08-30 21:24:58 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2004-08-30 21:24:58 +0400 |
commit | 92eaa7d09559fcf49c0681082063b84b237ab4ab (patch) | |
tree | af66564fb73c47bbb8443c7b8b9d66f73bf6819b | |
parent | e3f97af5c8954d28124dabc6dbca311b3cf6a35b (diff) |
Fix for bug #1574: shift+tab switched back to object mode from all modes,
except for Texture Paint mode. Now it works for texture paint mode too.
-rw-r--r-- | source/blender/src/toets.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/src/toets.c b/source/blender/src/toets.c index 75b4b70adcc..e2ccb8a3239 100644 --- a/source/blender/src/toets.c +++ b/source/blender/src/toets.c @@ -762,6 +762,11 @@ int blenderqread(unsigned short event, short val) set_faceselect(); if(G.f & G_VERTEXPAINT) set_vpaint(); + if(G.f & G_TEXTUREPAINT) { + G.f &= ~G_TEXTUREPAINT; + allqueue(REDRAWVIEW3D, 0); + allqueue(REDRAWBUTSEDIT, 0); + } if(G.f & G_WEIGHTPAINT) set_wpaint(); if(G.obpose) |