Shift+Tab should exit sculptmode (same as for other modes)
authorNicholas Bishop <nicholasbishop@gmail.com>
Wed, 6 Dec 2006 02:28:15 +0000 (02:28 +0000)
committerNicholas Bishop <nicholasbishop@gmail.com>
Wed, 6 Dec 2006 02:28:15 +0000 (02:28 +0000)
source/blender/src/sculptmode.c
source/blender/src/toets.c

index 1e75042ae0dfb42403c0c0e440810a0dc3678101..08ca88af0d57a5b86dd5a0804b0d75cabbf83f29 100644 (file)
@@ -1738,10 +1738,9 @@ void set_sculptmode()
                
                glEnableClientState(GL_VERTEX_ARRAY);
                glEnableClientState(GL_NORMAL_ARRAY);
-
-               allqueue(REDRAWVIEW3D,0);
        }
 
+       allqueue(REDRAWVIEW3D, 1);
        allqueue(REDRAWBUTSEDIT, 0);
 }
 
index ba81d049cb515c0a125356b4f9cb664dc6312af5..9157ed7c0f05ebca06290beb2df98b3999f38975 100644 (file)
@@ -694,6 +694,8 @@ int blenderqread(unsigned short event, short val)
                                set_texturepaint();
                        if(G.f & G_WEIGHTPAINT)
                                set_wpaint();
+                       if(G.f & G_SCULPTMODE)
+                               set_sculptmode();
                }
                break;