diff options
Diffstat (limited to 'extern/carve')
-rw-r--r-- | extern/carve/include/carve/mesh_simplify.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extern/carve/include/carve/mesh_simplify.hpp b/extern/carve/include/carve/mesh_simplify.hpp index f0a0a965707..f9544a4e969 100644 --- a/extern/carve/include/carve/mesh_simplify.hpp +++ b/extern/carve/include/carve/mesh_simplify.hpp @@ -1439,7 +1439,7 @@ namespace carve { size_t removeLowVolumeManifolds(meshset_t *meshset, double min_abs_volume) { - size_t n_removed; + size_t n_removed = 0; for (size_t i = 0; i < meshset->meshes.size(); ++i) { if (fabs(meshset->meshes[i]->volume()) < min_abs_volume) { delete meshset->meshes[i]; |