diff options
author | Sebastián Barschkis <sebbas@sebbas.org> | 2020-10-06 19:17:20 +0300 |
---|---|---|
committer | Sebastián Barschkis <sebbas@sebbas.org> | 2020-10-06 19:35:12 +0300 |
commit | a0ebfab4f3a31f08da651cf129982cbb419e0603 (patch) | |
tree | b3a4dd58a0d09ccca9dcb61860243c8515bf8ae3 /extern/mantaflow/preprocessed/fileio | |
parent | 2b72860ff4473255ac73519e5a66c085c0c1fbe8 (diff) |
Fluid: Updated Mantaflow source files
Among code cleanups, this update includes a new flood-fill helper function for levelsets.
Diffstat (limited to 'extern/mantaflow/preprocessed/fileio')
-rw-r--r-- | extern/mantaflow/preprocessed/fileio/iovdb.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extern/mantaflow/preprocessed/fileio/iovdb.cpp b/extern/mantaflow/preprocessed/fileio/iovdb.cpp index b31f7e0e760..b990274e1c4 100644 --- a/extern/mantaflow/preprocessed/fileio/iovdb.cpp +++ b/extern/mantaflow/preprocessed/fileio/iovdb.cpp @@ -405,6 +405,7 @@ int writeObjectsVDB(const string &filename, vdb_flags = openvdb::io::COMPRESS_NONE; break; } + default: case COMPRESSION_ZIP: { vdb_flags |= openvdb::io::COMPRESS_ZIP; break; @@ -445,6 +446,7 @@ int readObjectsVDB(const string &filename, std::vector<PbClass *> *objects, floa (void)metadata; // Unused for now } catch (const openvdb::IoError &e) { + (void)e; // Unused for now debMsg("readObjectsVDB: Could not open vdb file " << filename, 1); file.close(); return 0; |