Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastián Barschkis <sebbas@sebbas.org>2020-03-30 18:34:16 +0300
committerSebastián Barschkis <sebbas@sebbas.org>2020-03-30 18:34:16 +0300
commit6f15bc3b52fceaeec87f0c4afd89d763d39f42df (patch)
tree6cf53e9d1f59f7c68b9e387db42b57a56fd7c9f1 /release/scripts
parent1280f3c0ae9622a4ca189f22b637ba919fbb6828 (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')
-rw-r--r--release/scripts/startup/bl_ui/properties_physics_fluid.py3
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':