diff options
author | Sebastián Barschkis <sebbas@sebbas.org> | 2020-03-30 18:34:16 +0300 |
---|---|---|
committer | Sebastián Barschkis <sebbas@sebbas.org> | 2020-03-30 18:34:16 +0300 |
commit | 6f15bc3b52fceaeec87f0c4afd89d763d39f42df (patch) | |
tree | 6cf53e9d1f59f7c68b9e387db42b57a56fd7c9f1 /release/scripts/startup/bl_ui/properties_physics_fluid.py | |
parent | 1280f3c0ae9622a4ca189f22b637ba919fbb6828 (diff) |
Fluid: Removed Empty Space option for liquid domains
The option only makes sense for gas domains where there is some density.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_physics_fluid.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_physics_fluid.py | 3 |
1 files changed, 2 insertions, 1 deletions
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': |