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:
authorJacques Lucke <jacques@blender.org>2020-09-28 14:31:27 +0300
committerJacques Lucke <jacques@blender.org>2020-09-28 14:31:27 +0300
commit6da9286cc8a0386729f84a4d06bcf798fcc01c67 (patch)
treeb4ad53f523baebc3ec6da64e2649db0999b3929b
parent4803466c01193521f6016d7e31b248a86eb8bda5 (diff)
warning when compiled without openvdbmesh-to-volume-modifier
-rw-r--r--source/blender/modifiers/intern/MOD_mesh_to_volume.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_mesh_to_volume.cc b/source/blender/modifiers/intern/MOD_mesh_to_volume.cc
index 61207207b76..209e2ec194c 100644
--- a/source/blender/modifiers/intern/MOD_mesh_to_volume.cc
+++ b/source/blender/modifiers/intern/MOD_mesh_to_volume.cc
@@ -259,6 +259,8 @@ static Volume *modifyVolume(ModifierData *md, const ModifierEvalContext *ctx, Vo
#else
UNUSED_VARS(md, ctx);
+ UNUSED_VARS(compute_voxel_size);
+ BKE_modifier_set_error(md, "Compiled without OpenVDB");
return input_volume;
#endif
}