diff options
author | Matt Ebb <matt@mke3.net> | 2009-10-07 03:37:11 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2009-10-07 03:37:11 +0400 |
commit | a8b82a49ad41491640d390405cf8e8c8c4c05829 (patch) | |
tree | 237562cea35b103c7a5a994cc13ef47da6c857a7 /source/blender/makesrna/intern/rna_lamp.c | |
parent | f413091dfa3be71ffe03ddd1178ce0b22d0e8cc6 (diff) |
* notifier fix to redraw upon changing lamp shadow type
Diffstat (limited to 'source/blender/makesrna/intern/rna_lamp.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_lamp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_lamp.c b/source/blender/makesrna/intern/rna_lamp.c index 06fecec6fb6..3d3333a7eed 100644 --- a/source/blender/makesrna/intern/rna_lamp.c +++ b/source/blender/makesrna/intern/rna_lamp.c @@ -456,7 +456,7 @@ static void rna_def_lamp_shadow(StructRNA *srna, int spot, int area) RNA_def_property_enum_bitflag_sdna(prop, NULL, "mode"); RNA_def_property_enum_items(prop, (spot)? prop_spot_shadow_items: prop_shadow_items); RNA_def_property_ui_text(prop, "Shadow Method", "Method to compute lamp shadow with."); - RNA_def_property_update(prop, 0, "rna_Lamp_update"); + RNA_def_property_update(prop, 0, "rna_Lamp_draw_update"); prop= RNA_def_property(srna, "shadow_color", PROP_FLOAT, PROP_COLOR); RNA_def_property_float_sdna(prop, NULL, "shdwr"); |