Skip to content

Commit

Permalink
Inner Outer Inner mode - arachne bug fix (#4416)
Browse files Browse the repository at this point in the history
* Inner Outer Inner mode - arachne bug fix

* Update PerimeterGenerator.cpp
  • Loading branch information
igiannakas authored Mar 18, 2024
1 parent 059acc7 commit 28533dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libslic3r/PerimeterGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2495,7 +2495,7 @@ void PerimeterGenerator::process_arachne()
}
break;
}
if(outer >-1 && first_internal>-1 && second_internal>-1 && ordered_extrusions[arr_i].extrusion->inset_idx == 0){ // found a new external perimeter after we've found all three perimeters to re-order -> this means we entered a new island.
if(outer >-1 && first_internal>-1 && second_internal>-1 && reordered_extrusions[arr_i].extrusion->inset_idx == 0){ // found a new external perimeter after we've found all three perimeters to re-order -> this means we entered a new island.
arr_i=arr_i-1; //step back one perimeter
max_internal = arr_i; // new maximum internal perimeter is now this as we have found a new external perimeter, hence a new island.
break; // exit the for loop
Expand Down

0 comments on commit 28533dd

Please sign in to comment.