forked from bartvdbraak/blender
Fluid: Fix OpenVDB compiler warnings
Kudos to brecht for noticing the issue
This commit is contained in:
parent
ba380fc0bf
commit
ac0852cea0
@ -478,7 +478,7 @@ int readObjectsVDB(const string &filename, std::vector<PbClass *> *objects, floa
|
||||
}
|
||||
|
||||
// For every manta object, we loop through the vdb grid list and check for a match
|
||||
for (const openvdb::GridBase::Ptr vdbGrid : gridsVDB) {
|
||||
for (const openvdb::GridBase::Ptr &vdbGrid : gridsVDB) {
|
||||
bool nameMatch = (vdbGrid->getName() == (*iter)->getName());
|
||||
|
||||
// Sanity checks: Only load valid grids and make sure names match.
|
||||
|
2
extern/mantaflow/preprocessed/gitinfo.h
vendored
2
extern/mantaflow/preprocessed/gitinfo.h
vendored
@ -1,3 +1,3 @@
|
||||
|
||||
|
||||
#define MANTA_GIT_VERSION "commit 6725e6840a906167cc63474a22fc822d9aebf3e7"
|
||||
#define MANTA_GIT_VERSION "commit 5ae24e860cf15f1310666e119575cc01bea48598"
|
||||
|
Loading…
Reference in New Issue
Block a user