From a0ebfab4f3a31f08da651cf129982cbb419e0603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastia=CC=81n=20Barschkis?= Date: Tue, 6 Oct 2020 18:17:20 +0200 Subject: Fluid: Updated Mantaflow source files Among code cleanups, this update includes a new flood-fill helper function for levelsets. --- extern/mantaflow/preprocessed/fileio/iovdb.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'extern/mantaflow/preprocessed/fileio') 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 *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; -- cgit v1.2.3