Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2004-08-30 21:24:58 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2004-08-30 21:24:58 +0400
commit92eaa7d09559fcf49c0681082063b84b237ab4ab (patch)
treeaf66564fb73c47bbb8443c7b8b9d66f73bf6819b
parente3f97af5c8954d28124dabc6dbca311b3cf6a35b (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.c5
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)