diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2012-02-18 03:27:04 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2012-02-18 03:27:04 +0400 |
commit | f261d58b6dfd68ae936ed8b76c8399df7a34a071 (patch) | |
tree | 54856efc5899fd5738dc7bb6a34cc0ef729c923b /source | |
parent | f1e3e0fff0e38f20e709d8fd6ba5ea799de9068b (diff) |
Fix for a color ramp not immediately updated during the manipulation of a color picker.
This commit complements a similar fix in revision 44171.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesrna/intern/rna_color.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_color.c b/source/blender/makesrna/intern/rna_color.c index 8778a34b4f7..2fe56d8cc88 100644 --- a/source/blender/makesrna/intern/rna_color.c +++ b/source/blender/makesrna/intern/rna_color.c @@ -293,6 +293,13 @@ static void rna_ColorRamp_update(Main *bmain, Scene *UNUSED(scene), PointerRNA * WM_main_add_notifier(NC_TEXTURE, tex); } break; + case ID_LS: + { + FreestyleLineStyle *linestyle= ptr->id.data; + + WM_main_add_notifier(NC_LINESTYLE, linestyle); + } + break; default: break; } |