diff --git a/src/main.cpp b/src/main.cpp index 09711e7..bcbcefc 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -287,6 +287,7 @@ void simplify(int target_count){ unsigned long start_size = Simplify::triangles.size(); if (target_count >= static_cast(start_size)){ logWriter("No simplification needed\n"); + Simplify::compact_mesh(); return; }