From 9ad828dbad94d279521875db47a3472a38cc9b29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastia=CC=81n=20Barschkis?= Date: Tue, 2 Feb 2021 17:46:48 +0100 Subject: Fluid: Updated Mantaflow source files Includes improvements for the file IO. Namely, more meta data will be written from now on. This change is required to prevent IO issues (e.g. T84649) that arised through the use of sparse grids caching (introduced in 2.92). --- extern/mantaflow/preprocessed/grid.h | 1 + 1 file changed, 1 insertion(+) (limited to 'extern/mantaflow/preprocessed/grid.h') diff --git a/extern/mantaflow/preprocessed/grid.h b/extern/mantaflow/preprocessed/grid.h index cf942a19e9a..3d6f8558b8f 100644 --- a/extern/mantaflow/preprocessed/grid.h +++ b/extern/mantaflow/preprocessed/grid.h @@ -596,6 +596,7 @@ template class Grid : public GridBase { //! set data inline void set(int i, int j, int k, T &val) { + DEBUG_ONLY(checkIndex(i, j, k)); mData[index(i, j, k)] = val; } -- cgit v1.2.3