From 84ad9b102e708da54188752bde34daba8b6611b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Wed, 7 Nov 2018 13:22:22 +0100 Subject: Workbench: Add cubic filtering for smoke simulation The option is per domain and only affects the solid / xray / wireframe view. Eevee is not yet supported. --- release/scripts/startup/bl_ui/properties_physics_smoke.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 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 9896d3afc52..2e698ffb58d 100644 --- a/release/scripts/startup/bl_ui/properties_physics_smoke.py +++ b/release/scripts/startup/bl_ui/properties_physics_smoke.py @@ -596,9 +596,11 @@ class PHYSICS_PT_smoke_viewport_display(PhysicButtonsPanel, Panel): sub.prop(domain, "slice_axis") sub.prop(domain, "slice_depth") - col = col.row() - col.enabled = do_full_slicing or not do_axis_slicing - col.prop(domain, "slice_per_voxel") + row = col.row() + row.enabled = do_full_slicing or not do_axis_slicing + row.prop(domain, "slice_per_voxel") + + col.prop(domain, "display_interpolation") class PHYSICS_PT_smoke_viewport_display_color(PhysicButtonsPanel, Panel): -- cgit v1.2.3