[Bf-blender-cvs] [6f15bc3b52f] master: Fluid: Removed Empty Space option for liquid domains

Sebastián Barschkis noreply at git.blender.org
Mon Mar 30 17:34:34 CEST 2020


Commit: 6f15bc3b52fceaeec87f0c4afd89d763d39f42df
Author: Sebastián Barschkis
Date:   Mon Mar 30 17:34:16 2020 +0200
Branches: master
https://developer.blender.org/rB6f15bc3b52fceaeec87f0c4afd89d763d39f42df

Fluid: Removed Empty Space option for liquid domains

The option only makes sense for gas domains where there is some density.

===================================================================

M	release/scripts/startup/bl_ui/properties_physics_fluid.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/properties_physics_fluid.py b/release/scripts/startup/bl_ui/properties_physics_fluid.py
index ba9e2110817..390b5de7d37 100644
--- a/release/scripts/startup/bl_ui/properties_physics_fluid.py
+++ b/release/scripts/startup/bl_ui/properties_physics_fluid.py
@@ -194,7 +194,8 @@ class PHYSICS_PT_settings(PhysicButtonsPanel, Panel):
                 col.prop(domain, "gravity", text="Gravity")
 
             col = flow.column()
-            col.prop(domain, "clipping", text="Empty Space")
+            if PhysicButtonsPanel.poll_gas_domain(context):
+                col.prop(domain, "clipping", text="Empty Space")
             col.prop(domain, "delete_in_obstacle", text="Delete In Obstacle")
 
             if domain.cache_type == 'MODULAR':



More information about the Bf-blender-cvs mailing list