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:
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);
}