Skip to content

Commit

Permalink
Forgiving simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
pierotofy committed Jun 11, 2019
1 parent 1de2f3d commit 965d8b5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,7 @@ void simplify(int target_count){

Simplify::simplify_mesh(target_count, static_cast<double>(Aggressiveness.value), Verbose.set);
if ( Simplify::triangles.size() >= start_size) {
std::cerr << "Unable to reduce mesh.\n";
exit(EXIT_FAILURE);
logWriter("Unable to reduce mesh. We tried!\n");
}
}

Expand Down

0 comments on commit 965d8b5

Please sign in to comment.