[Bf-blender-cvs] [6da9286cc8a] mesh-to-volume-modifier: warning when compiled without openvdb
Jacques Lucke
noreply at git.blender.org
Mon Sep 28 13:31:37 CEST 2020
Commit: 6da9286cc8a0386729f84a4d06bcf798fcc01c67
Author: Jacques Lucke
Date: Mon Sep 28 13:31:27 2020 +0200
Branches: mesh-to-volume-modifier
https://developer.blender.org/rB6da9286cc8a0386729f84a4d06bcf798fcc01c67
warning when compiled without openvdb
===================================================================
M source/blender/modifiers/intern/MOD_mesh_to_volume.cc
===================================================================
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
}
More information about the Bf-blender-cvs
mailing list