Related to #29092: make the working of the Mist Intensity option more clear in

the user interface.
This commit is contained in:
Brecht Van Lommel
2011-11-02 12:18:51 +00:00
parent e29aa363f2
commit 3d35e004d3
2 changed files with 2 additions and 2 deletions

View File

@@ -227,7 +227,7 @@ class WORLD_PT_mist(WorldButtonsPanel, Panel):
split = layout.split()
col = split.column()
col.prop(world.mist_settings, "intensity", slider=True)
col.prop(world.mist_settings, "intensity")
col.prop(world.mist_settings, "start")
col = split.column()

View File

@@ -393,7 +393,7 @@ static void rna_def_world_mist(BlenderRNA *brna)
prop= RNA_def_property(srna, "intensity", PROP_FLOAT, PROP_NONE);
RNA_def_property_float_sdna(prop, NULL, "misi");
RNA_def_property_range(prop, 0, 1);
RNA_def_property_ui_text(prop, "Intensity", "Intensity of the mist effect");
RNA_def_property_ui_text(prop, "Minimum", "Overall minimum intensity of the mist effect");
RNA_def_property_update(prop, 0, "rna_World_update");
prop= RNA_def_property(srna, "start", PROP_FLOAT, PROP_DISTANCE);