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:
authorAntony Riakiotakis <kalast@gmail.com>2013-04-13 12:41:52 +0400
committerAntony Riakiotakis <kalast@gmail.com>2013-04-13 12:41:52 +0400
commitfb9d88692da9111c77958160a23b3d4372b152ab (patch)
tree609674377c1a8c3aa4ad04cc56e2c3526d62fd04 /source/blender/editors/space_buttons
parent2c4724495494868c88b0a97aaa25b70cb2f88eb2 (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/blender/editors/space_buttons')
-rw-r--r--source/blender/editors/space_buttons/space_buttons.c1
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: