diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2013-04-13 12:41:52 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2013-04-13 12:41:52 +0400 |
commit | fb9d88692da9111c77958160a23b3d4372b152ab (patch) | |
tree | 609674377c1a8c3aa4ad04cc56e2c3526d62fd04 /source | |
parent | 2c4724495494868c88b0a97aaa25b70cb2f88eb2 (diff) |
Add update to brush texture preview when brush is changed. Solves
cycling through tools with number or tool keys and no texture preview
getting updated.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_buttons/space_buttons.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_buttons/space_buttons.c b/source/blender/editors/space_buttons/space_buttons.c index 6367ca893d1..af404773f93 100644 --- a/source/blender/editors/space_buttons/space_buttons.c +++ b/source/blender/editors/space_buttons/space_buttons.c @@ -343,6 +343,7 @@ static void buttons_area_listener(ScrArea *sa, wmNotifier *wmn) break; case NC_BRUSH: buttons_area_redraw(sa, BCONTEXT_TEXTURE); + sbuts->preview = 1; break; case NC_TEXTURE: case NC_IMAGE: |