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-18 03:27:04 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2012-02-18 03:27:04 +0400
commitf261d58b6dfd68ae936ed8b76c8399df7a34a071 (patch)
tree54856efc5899fd5738dc7bb6a34cc0ef729c923b /source/blender
parentf1e3e0fff0e38f20e709d8fd6ba5ea799de9068b (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/blender')
-rw-r--r--source/blender/makesrna/intern/rna_color.c7
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;
}