Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion include/TreeSupportUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ class TreeSupportUtils
constexpr coord_t support_roof_overlap = 0;
constexpr size_t infill_multiplier = 1;
const int support_shift = roof ? 0 : support_infill_distance / 2;
const size_t wall_line_count = include_walls ? (! roof ? config.support_wall_thickness : config.support_roof_wall_count) : 0;
const coord_t wall_line_count
= include_walls ? (! roof ? config.support_wall_thickness : static_cast<coord_t>(config.support_roof_wall_count) * config.support_roof_line_width) : coord_t{ 0 };
constexpr coord_t narrow_area_width = 0;
const Point2LL infill_origin;
constexpr bool skip_stitching = false;
Expand Down
2 changes: 1 addition & 1 deletion src/skin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ void SkinInfillAreaComputation::generateGradualInfill(SliceMeshStorage& mesh)
const Shape& infill_area = Infill::generateWallToolPaths(
part.infill_wall_toolpaths,
part.getOwnInfillArea(),
infill_wall_count,
static_cast<coord_t>(infill_wall_count) * infill_wall_width,
infill_wall_width,
mesh.settings,
layer_idx,
Expand Down
Loading