Related to #29092: make the working of the Mist Intensity option more clear in
the user interface.
This commit is contained in:
@@ -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()
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user