[Bf-blender-cvs] [7bb3d9787ea] blender-v2.83-release: Fix T76812: [Mantaflow] Inflow particles not continuous
Sebastián Barschkis
noreply at git.blender.org
Tue May 19 21:13:39 CEST 2020
Commit: 7bb3d9787ead90d2a389eeccf05d7be9c56f03e6
Author: Sebastián Barschkis
Date: Tue May 19 21:12:22 2020 +0200
Branches: blender-v2.83-release
https://developer.blender.org/rB7bb3d9787ead90d2a389eeccf05d7be9c56f03e6
Fix T76812: [Mantaflow] Inflow particles not continuous
Makes use of the new particle skipping option introduced in f25a882955cb.
===================================================================
M intern/mantaflow/intern/strings/liquid_script.h
===================================================================
diff --git a/intern/mantaflow/intern/strings/liquid_script.h b/intern/mantaflow/intern/strings/liquid_script.h
index e70ede206ba..57f0cbc20b7 100644
--- a/intern/mantaflow/intern/strings/liquid_script.h
+++ b/intern/mantaflow/intern/strings/liquid_script.h
@@ -232,7 +232,7 @@ def liquid_step_$ID$():\n\
mantaMsg('Liquid step')\n\
\n\
mantaMsg('Advecting particles')\n\
- pp_s$ID$.advectInGrid(flags=flags_s$ID$, vel=vel_s$ID$, integrationMode=IntRK4, deleteInObstacle=deleteInObstacle_s$ID$, stopInObstacle=False)\n\
+ pp_s$ID$.advectInGrid(flags=flags_s$ID$, vel=vel_s$ID$, integrationMode=IntRK4, deleteInObstacle=deleteInObstacle_s$ID$, stopInObstacle=False, skipNew=True)\n\
\n\
mantaMsg('Pushing particles out of obstacles')\n\
pushOutofObs(parts=pp_s$ID$, flags=flags_s$ID$, phiObs=phiObs_s$ID$)\n\
More information about the Bf-blender-cvs
mailing list