[Bf-blender-cvs] [4ebfb70] master: Fix missing viewport update changing BI lamp shadow method

Julian Eisel noreply at git.blender.org
Sat Aug 27 23:24:07 CEST 2016


Commit: 4ebfb700ba846fea5a50df99e409e25b86f711e2
Author: Julian Eisel
Date:   Sat Aug 27 23:22:48 2016 +0200
Branches: master
https://developer.blender.org/rB4ebfb700ba846fea5a50df99e409e25b86f711e2

Fix missing viewport update changing BI lamp shadow method

===================================================================

M	source/blender/makesrna/intern/rna_lamp.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_lamp.c b/source/blender/makesrna/intern/rna_lamp.c
index e4e3699..51709d3 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");




More information about the Bf-blender-cvs mailing list