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:
-rw-r--r--source/blender/blenlib/intern/mesh_boolean.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/mesh_boolean.cc b/source/blender/blenlib/intern/mesh_boolean.cc
index 51e8ab172fd..bb8b14ebdc6 100644
--- a/source/blender/blenlib/intern/mesh_boolean.cc
+++ b/source/blender/blenlib/intern/mesh_boolean.cc
@@ -2008,6 +2008,7 @@ static void propagate_windings_and_in_output_volume(PatchesInfo &pinfo,
int t = patch.tri(0);
int shape = shape_fn(t);
BLI_assert(shape < nshapes);
+ UNUSED_VARS_NDEBUG(nshapes);
if (dbg_level > 1) {
std::cout << " representative tri " << t << ": in shape " << shape << "\n";
}
@@ -2391,6 +2392,7 @@ static IMesh gwn_boolean(const IMesh &tm,
Vector<Face *> out_faces;
out_faces.reserve(tm.face_size());
BLI_assert(nshapes == 2); /* TODO: generalize. */
+ UNUSED_VARS_NDEBUG(nshapes);
for (int p : pinfo.index_range()) {
const Patch &patch = pinfo.patch(p);
/* For test triangle, choose one in the middle of patch list