forked from bartvdbraak/blender
Fluid: Update Mantaflow source files
Includes cleanup that resolves a -Wunused-but-set-variable warning.
This commit is contained in:
parent
e7c1a32a78
commit
93f21ebb13
6
extern/mantaflow/preprocessed/mesh.cpp
vendored
6
extern/mantaflow/preprocessed/mesh.cpp
vendored
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user