diff options
author | Juho Vepsalainen <bebraw@gmail.com> | 2007-05-08 23:31:39 +0400 |
---|---|---|
committer | Juho Vepsalainen <bebraw@gmail.com> | 2007-05-08 23:31:39 +0400 |
commit | f280161709f9d19634b2fd4ad49a800f7a2ffea0 (patch) | |
tree | 9f963af014b1f28dcc0db3d3e5ffe95cdd9c89c3 /source/blender/src | |
parent | e05125b9bdf096796cf71106fe27ec88030934ef (diff) |
Bugfix [ #6593 ] Texture panel does not appear as soon as expected
Texture paint mode toggles were missing some redraws.
Diffstat (limited to 'source/blender/src')
-rw-r--r-- | source/blender/src/header_image.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/header_image.c b/source/blender/src/header_image.c index 9b2c1ff41dc..ea0850d77d0 100644 --- a/source/blender/src/header_image.c +++ b/source/blender/src/header_image.c @@ -160,6 +160,7 @@ void do_image_buttons(unsigned short event) if(G.sima->flag & SI_DRAWTOOL) /* add new brush if none exists */ brush_check_exists(&G.scene->toolsettings->imapaint.brush); + allqueue(REDRAWBUTSSHADING, 0); allqueue(REDRAWIMAGE, 0); allqueue(REDRAWVIEW3D, 0); break; @@ -662,8 +663,10 @@ static void do_image_imagemenu(void *arg, int event) pack_image_sima(); break; case 4: /* Texture Painting */ + brush_check_exists(&G.scene->toolsettings->imapaint.brush); if(G.sima->flag & SI_DRAWTOOL) G.sima->flag &= ~SI_DRAWTOOL; else G.sima->flag |= SI_DRAWTOOL; + allqueue(REDRAWBUTSSHADING, 0); break; case 5: save_as_image_sima(); |