fix for error in recent renaming
This commit is contained in:
@@ -125,7 +125,7 @@ class DATA_PT_sunsky(DataButtonsPanel, bpy.types.Panel):
|
|||||||
def draw(self, context):
|
def draw(self, context):
|
||||||
layout = self.layout
|
layout = self.layout
|
||||||
|
|
||||||
lamp = context.lamp.use_sky
|
lamp = context.lamp.sky
|
||||||
|
|
||||||
row = layout.row(align=True)
|
row = layout.row(align=True)
|
||||||
row.prop(lamp, "use_sky")
|
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_ui_text(prop, "Square", "Casts a square spot light shape");
|
||||||
RNA_def_property_update(prop, 0, "rna_Lamp_draw_update");
|
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_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_ui_text(prop, "Halo", "Renders spotlight with a volumetric halo (Buffer Shadows)");
|
||||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||||
|
Reference in New Issue
Block a user