[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [35756] trunk/blender/release/scripts/ startup/bl_ui/properties_physics_fluid.py: UI clarification: " local coordinates" option for fluid inflow objects doesn' t have any effect when "export animated mesh" is selected

Janne Karhu jhkarh at gmail.com
Thu Mar 24 18:17:45 CET 2011


Revision: 35756
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=35756
Author:   jhk
Date:     2011-03-24 17:17:44 +0000 (Thu, 24 Mar 2011)
Log Message:
-----------
UI clarification: "local coordinates" option for fluid inflow objects doesn't have any effect when "export animated mesh" is selected
* Grayed out the "local coordinates" option in this case to avoid confusion.

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_ui/properties_physics_fluid.py

Modified: trunk/blender/release/scripts/startup/bl_ui/properties_physics_fluid.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_physics_fluid.py	2011-03-24 17:15:43 UTC (rev 35755)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_physics_fluid.py	2011-03-24 17:17:44 UTC (rev 35756)
@@ -123,7 +123,9 @@
                 col.label(text="Volume Initialization:")
                 col.prop(fluid, "volume_initialization", text="")
                 col.prop(fluid, "use_animated_mesh")
-                col.prop(fluid, "use_local_coords")
+                row = col.row()
+                row.active = not fluid.use_animated_mesh
+                row.prop(fluid, "use_local_coords")
 
                 col = split.column()
                 col.label(text="Inflow Velocity:")




More information about the Bf-blender-cvs mailing list