Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorSebastián Barschkis <sebbas@sebbas.org>2020-02-06 21:27:47 +0300
committerSebastián Barschkis <sebbas@sebbas.org>2020-02-06 21:27:47 +0300
commita24b5a74b5715777746d3e7b5273574a46f94cd9 (patch)
tree37ad7796bd071b03098aeb0f8eabb9225bd77304 /intern
parentffb94e88b0857e8262f9e026444b327dddffa8f6 (diff)
Fluid: Optimization for fluid domain obstacle boundary handling
This fix should especially improve liquid obstacles boundaries, i.e. help with the problem of particles sticking to the surface.
Diffstat (limited to 'intern')
-rw-r--r--intern/mantaflow/intern/strings/liquid_script.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/mantaflow/intern/strings/liquid_script.h b/intern/mantaflow/intern/strings/liquid_script.h
index 442b09b5a8a..9a494a1cb6a 100644
--- a/intern/mantaflow/intern/strings/liquid_script.h
+++ b/intern/mantaflow/intern/strings/liquid_script.h
@@ -181,7 +181,7 @@ def liquid_adaptive_step_$ID$(framenr):\n\
phi_s$ID$.join(phiIn_s$ID$)\n\
\n\
if using_obstacle_s$ID$:\n\
- phi_s$ID$.subtract(phiObsIn_s$ID$)\n\
+ phi_s$ID$.subtract(o=phiObsIn_s$ID$, flags=flags_s$ID$, subtractType=FlagObstacle)\n\
\n\
if using_outflow_s$ID$:\n\
phiOut_s$ID$.join(phiOutIn_s$ID$)\n\