Fix T76812: [Mantaflow] Inflow particles not continuous
Makes use of the new particle skipping option introduced in f25a882955cb.
This commit is contained in:
parent
61280e5af3
commit
7bb3d9787e
Notes:
blender-bot
2023-02-13 22:29:51 +01:00
Referenced by commit c1545c9a9d
, Fluid: Fix for non-moving liquid particles
Referenced by issue #76812, [Mantaflow] Inflow particles not continuous
Referenced by issue #76812, [Mantaflow] Inflow particles not continuous
|
@ -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\
|
||||
|
|
Loading…
Reference in New Issue