[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [33040] trunk/blender/release/scripts/ui/ properties_physics_fluid.py: Hide "active" checkbox in ui for "fluid" type fluid objects as it's not used by fluidsim.

Janne Karhu jhkarh at gmail.com
Fri Nov 12 15:54:41 CET 2010


Revision: 33040
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=33040
Author:   jhk
Date:     2010-11-12 15:54:40 +0100 (Fri, 12 Nov 2010)

Log Message:
-----------
Hide "active" checkbox in ui for "fluid" type fluid objects as it's not used by fluidsim.
* Response to report [#24670] Keyframe fluid on/off does not work 

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

Modified: trunk/blender/release/scripts/ui/properties_physics_fluid.py
===================================================================
--- trunk/blender/release/scripts/ui/properties_physics_fluid.py	2010-11-12 14:36:58 UTC (rev 33039)
+++ trunk/blender/release/scripts/ui/properties_physics_fluid.py	2010-11-12 14:54:40 UTC (rev 33040)
@@ -65,11 +65,11 @@
                 return
 
             row.prop(fluid, "type")
-            if fluid.type not in ('NONE', 'DOMAIN', 'PARTICLE'):
+            if fluid.type not in ('NONE', 'DOMAIN', 'PARTICLE', 'FLUID'):
                 row.prop(fluid, "use", text="")
 
             layout = layout.column()
-            if fluid.type not in ('NONE', 'DOMAIN', 'PARTICLE'):
+            if fluid.type not in ('NONE', 'DOMAIN', 'PARTICLE', 'FLUID'):
                 layout.active = fluid.use
 
             if fluid.type == 'DOMAIN':





More information about the Bf-blender-cvs mailing list