Skip to content

Commit

Permalink
comment for adding if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
saumyaj3 committed Oct 6, 2023
1 parent 65ad30f commit 9dbcdf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SkirtBrim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -667,8 +667,8 @@ void SkirtBrim::generateSupportBrim()
}

storage.support_brim.add(brim_line);

const coord_t length = (adhesion_type == EPlatformAdhesion::NONE) ? skirt_brim_length : skirt_brim_length + storage.support_brim.polygonLength();
// In case of adhesion::NONE length of support brim is only the length of the brims formed for the support
const coord_t length = (adhesion_type == EPlatformAdhesion::NONE) ? skirt_brim_length: skirt_brim_length + storage.support_brim.polygonLength();
if (skirt_brim_number + 1 >= line_count && length > 0 && length < minimal_length) // Make brim or skirt have more lines when total length is too small.
{
line_count++;
Expand Down

0 comments on commit 9dbcdf8

Please sign in to comment.