diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-19 15:04:46 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-19 15:04:46 +0400 |
commit | 736edd547b1b9366d3663c4887736051a2dc86d5 (patch) | |
tree | a2be7e9ca2c5a455929a2ef4fa31956093990413 | |
parent | b00c0526c737dc85c6bf03433e2e809d4def9501 (diff) |
fix for error in recent renaming
-rw-r--r-- | release/scripts/ui/properties_data_lamp.py | 2 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_lamp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/ui/properties_data_lamp.py b/release/scripts/ui/properties_data_lamp.py index 5eca7c09198..8eb0c275462 100644 --- a/release/scripts/ui/properties_data_lamp.py +++ b/release/scripts/ui/properties_data_lamp.py @@ -125,7 +125,7 @@ class DATA_PT_sunsky(DataButtonsPanel, bpy.types.Panel): def draw(self, context): layout = self.layout - lamp = context.lamp.use_sky + lamp = context.lamp.sky row = layout.row(align=True) row.prop(lamp, "use_sky") diff --git a/source/blender/makesrna/intern/rna_lamp.c b/source/blender/makesrna/intern/rna_lamp.c index 4e2504516ec..4a33b281a34 100644 --- a/source/blender/makesrna/intern/rna_lamp.c +++ b/source/blender/makesrna/intern/rna_lamp.c @@ -618,7 +618,7 @@ static void rna_def_spot_lamp(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Square", "Casts a square spot light shape"); RNA_def_property_update(prop, 0, "rna_Lamp_draw_update"); - prop= RNA_def_property(srna, "halo", PROP_BOOLEAN, PROP_NONE); + prop= RNA_def_property(srna, "use_halo", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "mode", LA_HALO); RNA_def_property_ui_text(prop, "Halo", "Renders spotlight with a volumetric halo (Buffer Shadows)"); RNA_def_property_update(prop, 0, "rna_Lamp_update"); |