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>2021-02-05 18:23:02 +0300
committerSebastián Barschkis <sebbas@sebbas.org>2021-02-05 18:23:02 +0300
commita5637756491ca1b9baa544ad86f74627f6333d04 (patch)
treeba7e4caa18df2cb3552f157c80fd059397f95276 /extern/mantaflow/preprocessed/plugin/surfaceturbulence.cpp
parent4212ea7b7de70f2346e27505ae7e966a7830f038 (diff)
Fluid: Updated Mantaflow source files
This updates fixes the following issues (critical for 2.92): - Issue that prevented dense 'int' grids from being exported (incorrect clip value) - Issue with particles outside out of domain bounds (position between -1 and 0) not being deleted
Diffstat (limited to 'extern/mantaflow/preprocessed/plugin/surfaceturbulence.cpp')
-rw-r--r--extern/mantaflow/preprocessed/plugin/surfaceturbulence.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/extern/mantaflow/preprocessed/plugin/surfaceturbulence.cpp b/extern/mantaflow/preprocessed/plugin/surfaceturbulence.cpp
index aa04b551e1e..e5aa09117ea 100644
--- a/extern/mantaflow/preprocessed/plugin/surfaceturbulence.cpp
+++ b/extern/mantaflow/preprocessed/plugin/surfaceturbulence.cpp
@@ -2145,8 +2145,7 @@ void PbRegister_particleSurfaceTurbulence()
void debugCheckParts(const BasicParticleSystem &parts, const FlagGrid &flags)
{
for (int idx = 0; idx < parts.size(); idx++) {
- Vec3i p = toVec3i(parts.getPos(idx));
- if (!flags.isInBounds(p)) {
+ if (!flags.isInBounds(parts.getPos(idx))) {
debMsg("bad position??? " << idx << " " << parts.getPos(idx), 1);
exit(1);
}