[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [41462] trunk/blender: Related to #29092: make the working of the Mist Intensity option more clear in

Brecht Van Lommel brechtvanlommel at pandora.be
Wed Nov 2 13:18:51 CET 2011


Revision: 41462
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=41462
Author:   blendix
Date:     2011-11-02 12:18:51 +0000 (Wed, 02 Nov 2011)
Log Message:
-----------
Related to #29092: make the working of the Mist Intensity option more clear in
the user interface.

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_ui/properties_world.py
    trunk/blender/source/blender/makesrna/intern/rna_world.c

Modified: trunk/blender/release/scripts/startup/bl_ui/properties_world.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_world.py	2011-11-02 11:32:22 UTC (rev 41461)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_world.py	2011-11-02 12:18:51 UTC (rev 41462)
@@ -227,7 +227,7 @@
         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()

Modified: trunk/blender/source/blender/makesrna/intern/rna_world.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_world.c	2011-11-02 11:32:22 UTC (rev 41461)
+++ trunk/blender/source/blender/makesrna/intern/rna_world.c	2011-11-02 12:18:51 UTC (rev 41462)
@@ -393,7 +393,7 @@
 	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);




More information about the Bf-blender-cvs mailing list