From c2ab069dfca3c2c82313d7f5d2fa2c0a97dbe514 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Barschkis?= Date: Wed, 24 Jun 2020 18:38:56 +0200 Subject: Fluid: Use OpenVDB as the default cache format for liquids too With the updated OpenVDB setup, it is now perfectly fine to use OpenVDB for liquid domains. --- release/scripts/startup/bl_operators/object_quick_effects.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'release') diff --git a/release/scripts/startup/bl_operators/object_quick_effects.py b/release/scripts/startup/bl_operators/object_quick_effects.py index 59b66b427f1..311631ac65f 100644 --- a/release/scripts/startup/bl_operators/object_quick_effects.py +++ b/release/scripts/startup/bl_operators/object_quick_effects.py @@ -399,6 +399,9 @@ class QuickSmoke(ObjectModeOperator, Operator): if self.style == 'FIRE' or self.style == 'BOTH': obj.modifiers[-1].domain_settings.use_noise = True + # ensure correct cache file format for smoke + obj.modifiers[-1].domain_settings.cache_data_format = 'OPENVDB' + # Setup material # Cycles and Eevee @@ -511,7 +514,8 @@ class QuickLiquid(Operator): obj.modifiers[-1].domain_settings.use_collision_border_top = True obj.modifiers[-1].domain_settings.use_collision_border_bottom = True - # set correct cache file format for liquid + # ensure correct cache file formats for liquid + obj.modifiers[-1].domain_settings.cache_data_format = 'OPENVDB' obj.modifiers[-1].domain_settings.cache_mesh_format = 'BOBJECT' # change domain type, will also allocate and show particle system for FLIP -- cgit v1.2.3