Skip to content

Commit

Permalink
compact mesh if no simplification is needed
Browse files Browse the repository at this point in the history
  • Loading branch information
pierotofy committed Oct 23, 2018
1 parent 8f04e04 commit 725683c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ void simplify(int target_count){
unsigned long start_size = Simplify::triangles.size();
if (target_count >= static_cast<int>(start_size)){
logWriter("No simplification needed\n");
Simplify::compact_mesh();
return;
}

Expand Down

0 comments on commit 725683c

Please sign in to comment.