diff options
author | Jacques Lucke <jacques@blender.org> | 2020-09-28 14:31:27 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-09-28 14:31:27 +0300 |
commit | 6da9286cc8a0386729f84a4d06bcf798fcc01c67 (patch) | |
tree | b4ad53f523baebc3ec6da64e2649db0999b3929b | |
parent | 4803466c01193521f6016d7e31b248a86eb8bda5 (diff) |
warning when compiled without openvdbmesh-to-volume-modifier
-rw-r--r-- | source/blender/modifiers/intern/MOD_mesh_to_volume.cc | 2 |
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 } |