fix for error in recent renaming

This commit is contained in:
Campbell Barton 2010-08-19 11:04:46 +00:00
parent b00c0526c7
commit 736edd547b
2 changed files with 2 additions and 2 deletions

@ -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")

@ -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");