UI clarification: "local coordinates" option for fluid inflow objects doesn't have...
authorJanne Karhu <jhkarh@gmail.com>
Thu, 24 Mar 2011 17:17:44 +0000 (17:17 +0000)
committerJanne Karhu <jhkarh@gmail.com>
Thu, 24 Mar 2011 17:17:44 +0000 (17:17 +0000)
* Grayed out the "local coordinates" option in this case to avoid confusion.

release/scripts/startup/bl_ui/properties_physics_fluid.py

index 53eb67e1340c34421b8f328cbecb18a495295909..dac8fe9195f13800dae95c59d8b7ee7e9b9e1e77 100644 (file)
@@ -123,7 +123,9 @@ class PHYSICS_PT_fluid(PhysicButtonsPanel, bpy.types.Panel):
                 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:")