From 6d58339973b6a3b5ccf972e67a07a4aac4904ced Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 24 Jan 2019 19:44:43 +0100 Subject: Fix smoke clipping being ignored by Cycles and not being editable after baking. The value worked in 2.7, but not with copy-on-write in 2.8. --- release/scripts/startup/bl_ui/properties_physics_smoke.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'release/scripts/startup/bl_ui/properties_physics_smoke.py') diff --git a/release/scripts/startup/bl_ui/properties_physics_smoke.py b/release/scripts/startup/bl_ui/properties_physics_smoke.py index 4fd79f26b0b..1f52f768676 100644 --- a/release/scripts/startup/bl_ui/properties_physics_smoke.py +++ b/release/scripts/startup/bl_ui/properties_physics_smoke.py @@ -96,16 +96,20 @@ class PHYSICS_PT_smoke_settings(PhysicButtonsPanel, Panel): domain = md.domain_settings flow = layout.grid_flow(row_major=True, columns=0, even_columns=True, even_rows=False, align=False) - flow.enabled = (not domain.point_cache.is_baked) col = flow.column() + col.enabled = (not domain.point_cache.is_baked) col.prop(domain, "resolution_max", text="Resolution Divisions") col.prop(domain, "time_scale", text="Time Scale") col.separator() col = flow.column() - col.prop(domain, "collision_extents", text="Border Collisions") + sub = col.row() + sub.enabled = (not domain.point_cache.is_baked) + sub.prop(domain, "collision_extents", text="Border Collisions") + + # This can be tweaked after baking, for render. col.prop(domain, "clipping", text="Empty Space") elif md.smoke_type == 'FLOW': -- cgit v1.2.3