diff options
Diffstat (limited to 'source/blender/src/toets.c')
-rw-r--r-- | source/blender/src/toets.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/source/blender/src/toets.c b/source/blender/src/toets.c index b6f0e90ad1a..ba81d049cb5 100644 --- a/source/blender/src/toets.c +++ b/source/blender/src/toets.c @@ -690,11 +690,8 @@ 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_TEXTUREPAINT) + set_texturepaint(); if(G.f & G_WEIGHTPAINT) set_wpaint(); } |