diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-01-24 21:44:43 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-01-24 21:47:01 +0300 |
commit | 6d58339973b6a3b5ccf972e67a07a4aac4904ced (patch) | |
tree | 449edc2e48db8042b0ee7b2508dc87c22adb8601 /release/scripts/startup/bl_ui | |
parent | 7b48e04b6e5949c87d37cb0a425ab1067c770d8c (diff) |
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.
Diffstat (limited to 'release/scripts/startup/bl_ui')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_physics_smoke.py | 8 |
1 files changed, 6 insertions, 2 deletions
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': |