Cleanup: debug-only variable.
authorBastien Montagne <montagne29@wanadoo.fr>
Mon, 25 Jul 2016 07:31:56 +0000 (09:31 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Mon, 25 Jul 2016 07:31:56 +0000 (09:31 +0200)
source/blender/blenkernel/intern/mesh_mapping.c

index 1a20300457f1b1780636156a9eab371e4d8f75d5..8562988b5e1a49213c24db5a50552365a2ac78cf 100644 (file)
@@ -934,6 +934,7 @@ static bool mesh_check_island_boundary_uv(
                        }
                        else {
                                BLI_assert(loops[edge_to_loops->indices[i]].v == v2);
+                               UNUSED_VARS_NDEBUG(v2);
                                if (!equals_v2v2(uvco_v2, luvs[edge_to_loops->indices[i]].uv) ||
                                    !equals_v2v2(uvco_v1, luvs[edge_to_loops->indices[i + 1]].uv))
                                {