Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2020-03-21 16:40:51 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-03-21 16:40:51 +0300
commit0dbbb2eabf7b8ee436dc806ce441f00e48d46f6f (patch)
treefb9fcb51bd004113bb40b8ced1e55df92de03282 /source/blender/blenkernel/intern/volume.cc
parentd924e31b421a51fed343fbd2a17291cfd289d9bc (diff)
Cleanup: compiler warnings
Diffstat (limited to 'source/blender/blenkernel/intern/volume.cc')
-rw-r--r--source/blender/blenkernel/intern/volume.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/volume.cc b/source/blender/blenkernel/intern/volume.cc
index 03bbf308802..64d985ab7ec 100644
--- a/source/blender/blenkernel/intern/volume.cc
+++ b/source/blender/blenkernel/intern/volume.cc
@@ -52,7 +52,9 @@
#include "CLG_log.h"
+#ifdef WITH_OPENVDB
static CLG_LogRef LOG = {"bke.volume"};
+#endif
#define VOLUME_FRAME_NONE INT_MAX
@@ -590,6 +592,7 @@ static int volume_sequence_frame(const Depsgraph *depsgraph, const Volume *volum
return frame;
}
+#ifdef WITH_OPENVDB
static void volume_filepath_get(const Main *bmain, const Volume *volume, char r_filepath[FILE_MAX])
{
BLI_strncpy(r_filepath, volume->filepath, FILE_MAX);
@@ -603,6 +606,7 @@ static void volume_filepath_get(const Main *bmain, const Volume *volume, char r_
BLI_path_extension_ensure(r_filepath, FILE_MAX, ext);
}
}
+#endif
/* File Load */