mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 01:37:53 -06:00
Added workaround into admesh stl_fix_normal_directions() function to prevent meshes to be broken by the repairing process (fixes #716, #574, #413, #269, #262, #259, #230, #228, #206)
This commit is contained in:
parent
b5bdb46268
commit
1489b9901b
2 changed files with 35 additions and 9 deletions
|
@ -198,9 +198,8 @@ TriangleMesh::repair() {
|
|||
stl_clear_error(&stl);
|
||||
}
|
||||
|
||||
// commenting out the following call fixes: #574, #413, #269, #262, #259, #230, #228, #206
|
||||
// // normal_directions
|
||||
// stl_fix_normal_directions(&stl);
|
||||
// normal_directions
|
||||
stl_fix_normal_directions(&stl);
|
||||
|
||||
// normal_values
|
||||
stl_fix_normal_values(&stl);
|
||||
|
@ -210,7 +209,7 @@ TriangleMesh::repair() {
|
|||
|
||||
// neighbors
|
||||
stl_verify_neighbors(&stl);
|
||||
|
||||
|
||||
this->repaired = true;
|
||||
|
||||
BOOST_LOG_TRIVIAL(debug) << "TriangleMesh::repair() finished";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue