Skip to content

Commit

Permalink
Fix double brim interior
Browse files Browse the repository at this point in the history
  • Loading branch information
supermerill committed Sep 16, 2022
1 parent 9c81fa4 commit 0ff485c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libslic3r/Brim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ void make_brim(const Print& print, const Flow& flow, const PrintObjectPtrs& obje
for (PrintObject* object : objects) {
ExPolygons object_islands;
for (ExPolygon& expoly : object->layers().front()->lslices)
if (brim_config.brim_inside_holes || brim_config.brim_width_interior > 0) {
if (brim_config.brim_inside_holes && brim_config.brim_width_interior == 0) {
if (brim_offset == 0) {
object_islands.push_back(expoly);
} else {
Expand Down Expand Up @@ -1123,7 +1123,7 @@ void make_brim_ears(const Print& print, const Flow& flow, const PrintObjectPtrs&
ExPolygons object_islands;
ExPolygons support_island;
for (const ExPolygon& expoly : object->layers().front()->lslices) {
if (brim_config.brim_inside_holes || brim_config.brim_width_interior > 0){
if (brim_config.brim_inside_holes && brim_config.brim_width_interior == 0) {
if (brim_offset == 0) {
object_islands.push_back(expoly);
} else {
Expand Down

0 comments on commit 0ff485c

Please sign in to comment.