diff options
author | Sebastián Barschkis <sebbas@sebbas.org> | 2019-12-16 17:42:07 +0300 |
---|---|---|
committer | Sebastián Barschkis <sebbas@sebbas.org> | 2019-12-16 18:30:10 +0300 |
commit | 4235fe37d6aaf9963ddda23ccaec26a483b6a580 (patch) | |
tree | 43461c553660a9ed476883d4caa0f347ca79a922 /release/scripts/presets | |
parent | 2aa4301c88aac15d81e08b1f5ac24da2a9279243 (diff) |
Mantaflow [Part 3]: Customized UI for Manta fluids
With Mantaflow the current smoke modifier UI will accommodate both smoke and liquids.
In addition, there is now an option for Mantaflow liquids in the quick effects section ("Quick Liquid").
Reviewed By: sergey
Maniphest Tasks: T59995
Differential Revision: https://developer.blender.org/D3852
Diffstat (limited to 'release/scripts/presets')
-rw-r--r-- | release/scripts/presets/fluid/honey.py | 4 | ||||
-rw-r--r-- | release/scripts/presets/fluid/oil.py | 4 | ||||
-rw-r--r-- | release/scripts/presets/fluid/water.py | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/release/scripts/presets/fluid/honey.py b/release/scripts/presets/fluid/honey.py index fbeb7f2b286..0ed3658470a 100644 --- a/release/scripts/presets/fluid/honey.py +++ b/release/scripts/presets/fluid/honey.py @@ -1,3 +1,3 @@ import bpy -bpy.context.fluid.settings.viscosity_base = 2.0 -bpy.context.fluid.settings.viscosity_exponent = 3 +bpy.context.fluid.domain_settings.viscosity_base = 2.0 +bpy.context.fluid.domain_settings.viscosity_exponent = 3 diff --git a/release/scripts/presets/fluid/oil.py b/release/scripts/presets/fluid/oil.py index 3d73de9303a..c33e5d4b6cf 100644 --- a/release/scripts/presets/fluid/oil.py +++ b/release/scripts/presets/fluid/oil.py @@ -1,3 +1,3 @@ import bpy -bpy.context.fluid.settings.viscosity_base = 5.0 -bpy.context.fluid.settings.viscosity_exponent = 5 +bpy.context.fluid.domain_settings.viscosity_base = 5.0 +bpy.context.fluid.domain_settings.viscosity_exponent = 5 diff --git a/release/scripts/presets/fluid/water.py b/release/scripts/presets/fluid/water.py index 0b68ad28c98..f34ecc834ff 100644 --- a/release/scripts/presets/fluid/water.py +++ b/release/scripts/presets/fluid/water.py @@ -1,3 +1,3 @@ import bpy -bpy.context.fluid.settings.viscosity_base = 1.0 -bpy.context.fluid.settings.viscosity_exponent = 6 +bpy.context.fluid.domain_settings.viscosity_base = 1.0 +bpy.context.fluid.domain_settings.viscosity_exponent = 6 |