From 28533dd1753fd1be422777948e325c2263decdb4 Mon Sep 17 00:00:00 2001 From: Ioannis Giannakas <59056762+igiannakas@users.noreply.github.com> Date: Mon, 18 Mar 2024 15:14:40 +0000 Subject: [PATCH] Inner Outer Inner mode - arachne bug fix (#4416) * Inner Outer Inner mode - arachne bug fix * Update PerimeterGenerator.cpp --- src/libslic3r/PerimeterGenerator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/PerimeterGenerator.cpp b/src/libslic3r/PerimeterGenerator.cpp index e31f043284b..23204cfc3a3 100644 --- a/src/libslic3r/PerimeterGenerator.cpp +++ b/src/libslic3r/PerimeterGenerator.cpp @@ -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