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-07-16 19:01:08 +0300
committerSebastián Barschkis <sebbas@sebbas.org>2020-07-16 19:04:44 +0300
commit93f21ebb13f0a63a469e506bd08797fbdf4079b7 (patch)
tree26c145a8fb80813b34c61369049ac05c17840efc /extern/mantaflow
parente7c1a32a7806977beb74f5d20c965949162b12b5 (diff)
Fluid: Update Mantaflow source files
Includes cleanup that resolves a -Wunused-but-set-variable warning.
Diffstat (limited to 'extern/mantaflow')
-rw-r--r--extern/mantaflow/preprocessed/mesh.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/extern/mantaflow/preprocessed/mesh.cpp b/extern/mantaflow/preprocessed/mesh.cpp
index c99d621d2bd..7a27b88ece7 100644
--- a/extern/mantaflow/preprocessed/mesh.cpp
+++ b/extern/mantaflow/preprocessed/mesh.cpp
@@ -1371,11 +1371,11 @@ void Mesh::updateDataFields()
for (size_t i = 0; i < mNodes.size(); ++i) {
Vec3 pos = mNodes[i].pos;
for (IndexInt md = 0; md < (IndexInt)mMdataReal.size(); ++md)
- mMdataReal[md]->initNewValue(i, mNodes[i].pos);
+ mMdataReal[md]->initNewValue(i, pos);
for (IndexInt md = 0; md < (IndexInt)mMdataVec3.size(); ++md)
- mMdataVec3[md]->initNewValue(i, mNodes[i].pos);
+ mMdataVec3[md]->initNewValue(i, pos);
for (IndexInt md = 0; md < (IndexInt)mMdataInt.size(); ++md)
- mMdataInt[md]->initNewValue(i, mNodes[i].pos);
+ mMdataInt[md]->initNewValue(i, pos);
}
}