Usual UI messages fixes...
This commit is contained in:
@@ -828,7 +828,8 @@ static void rna_def_sun_lamp(BlenderRNA *brna)
|
|||||||
|
|
||||||
prop = RNA_def_property(srna, "show_shadow_box", PROP_BOOLEAN, PROP_NONE);
|
prop = RNA_def_property(srna, "show_shadow_box", PROP_BOOLEAN, PROP_NONE);
|
||||||
RNA_def_property_boolean_sdna(prop, NULL, "mode", LA_SHOW_SHADOW_BOX);
|
RNA_def_property_boolean_sdna(prop, NULL, "mode", LA_SHOW_SHADOW_BOX);
|
||||||
RNA_def_property_ui_text(prop, "Show Shadow Box", "Draw box in 3D view to visualize which object are contained in it");
|
RNA_def_property_ui_text(prop, "Show Shadow Box",
|
||||||
|
"Draw a box in 3D view to visualize which objects are contained in it");
|
||||||
RNA_def_property_update(prop, 0, "rna_Lamp_draw_update");
|
RNA_def_property_update(prop, 0, "rna_Lamp_draw_update");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user