Skip to content

Commit 725683c

Browse files
committed
compact mesh if no simplification is needed
1 parent 8f04e04 commit 725683c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ void simplify(int target_count){
287287
unsigned long start_size = Simplify::triangles.size();
288288
if (target_count >= static_cast<int>(start_size)){
289289
logWriter("No simplification needed\n");
290+
Simplify::compact_mesh();
290291
return;
291292
}
292293

0 commit comments

Comments
 (0)