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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2012-02-17 01:52:05 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2012-02-17 01:52:05 +0400
commitee49241cfcb89cf31fee1c9c727b0d2b7966d58a (patch)
treeed0dfb7a11bac2c5e3454865a00f162d63567d75 /source/blender/editors/space_buttons/space_buttons.c
parent5c5685f6c5bfc9a6c838aa837f1b5980127bcbc3 (diff)
Fix for a color preview not immediately updated during the manipulation of a color picker.
Problem report by Light BWK through personal communications, thanks!
Diffstat (limited to 'source/blender/editors/space_buttons/space_buttons.c')
-rw-r--r--source/blender/editors/space_buttons/space_buttons.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_buttons/space_buttons.c b/source/blender/editors/space_buttons/space_buttons.c
index e6928e31dc7..23dd99ab73d 100644
--- a/source/blender/editors/space_buttons/space_buttons.c
+++ b/source/blender/editors/space_buttons/space_buttons.c
@@ -369,6 +369,10 @@ static void buttons_area_listener(ScrArea *sa, wmNotifier *wmn)
ED_area_tag_redraw(sa);
sbuts->preview= 1;
break;
+ case NC_LINESTYLE:
+ ED_area_tag_redraw(sa);
+ sbuts->preview= 1;
+ break;
}
if(wmn->data == ND_KEYS)