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
diff options
context:
space:
mode:
authorSebastián Barschkis <sebbas@sebbas.org>2020-04-08 14:25:16 +0300
committerSebastián Barschkis <sebbas@sebbas.org>2020-04-08 14:25:16 +0300
commita1ddb633297a603ed19a37340be5f27c1c439d36 (patch)
tree42bb0e5d41c1b1656a368a73fd5475c1d9763f4a /extern/mantaflow/preprocessed/plugin
parent7cafdc57e06d675061ec40cfaba03c2af1f58122 (diff)
Fluid: Update Mantaflow source files
Update includes new grid helper functions and some cleanups.
Diffstat (limited to 'extern/mantaflow/preprocessed/plugin')
-rw-r--r--extern/mantaflow/preprocessed/plugin/secondaryparticles.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/extern/mantaflow/preprocessed/plugin/secondaryparticles.cpp b/extern/mantaflow/preprocessed/plugin/secondaryparticles.cpp
index 18582d57e64..23f5e23d99d 100644
--- a/extern/mantaflow/preprocessed/plugin/secondaryparticles.cpp
+++ b/extern/mantaflow/preprocessed/plugin/secondaryparticles.cpp
@@ -1834,7 +1834,7 @@ struct knFlipDeleteParticlesInObstacle : public KernelBase {
}
int gridIndex = flags.index(xidx);
// remove particles that penetrate obstacles
- if (flags[gridIndex] == FlagGrid::TypeObstacle || flags[gridIndex] == FlagGrid::TypeOutflow) {
+ if (flags.isObstacle(gridIndex) || flags.isOutflow(gridIndex)) {
pts.kill(idx);
}
}