diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2016-08-28 00:22:48 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2016-08-28 00:23:17 +0300 |
commit | 4ebfb700ba846fea5a50df99e409e25b86f711e2 (patch) | |
tree | a3c4168c6942f8ad69d52b21bb69bd57d1801536 /source | |
parent | 0a8344e843633815c833aef64e4edf28d24fbf72 (diff) |
Fix missing viewport update changing BI lamp shadow method
Diffstat (limited to 'source')
-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 e4e3699f301..51709d3137c 100644 --- a/source/blender/makesrna/intern/rna_lamp.c +++ b/source/blender/makesrna/intern/rna_lamp.c @@ -546,7 +546,7 @@ static void rna_def_lamp_shadow(StructRNA *srna, int spot, int area) prop = RNA_def_property(srna, "shadow_method", PROP_ENUM, PROP_NONE); 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_update(prop, 0, "rna_Lamp_update"); + RNA_def_property_update(prop, 0, "rna_Lamp_draw_update"); prop = RNA_def_property(srna, "shadow_buffer_size", PROP_INT, PROP_NONE); RNA_def_property_int_sdna(prop, NULL, "bufsize"); |