From 6f15bc3b52fceaeec87f0c4afd89d763d39f42df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Barschkis?= Date: Mon, 30 Mar 2020 17:34:16 +0200 Subject: Fluid: Removed Empty Space option for liquid domains The option only makes sense for gas domains where there is some density. --- release/scripts/startup/bl_ui/properties_physics_fluid.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'release') 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': -- cgit v1.2.3