Skip to content

Commit

Permalink
Fix Line sparse infill (#5658)
Browse files Browse the repository at this point in the history
Fix Line sparse infill bug
  • Loading branch information
kisslorand authored Jun 15, 2024
1 parent dbac0f2 commit a12af8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libslic3r/Fill/Fill.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ std::vector<SurfaceFill> group_fills(const Layer &layer)
params.bridge_angle = float(surface.bridge_angle);
if (params.extrusion_role == erInternalInfill) {
params.angle = float(Geometry::deg2rad(region_config.infill_direction.value));
params.rotate_angle = (params.pattern == ipRectilinear);
params.rotate_angle = (params.pattern == ipRectilinear || params.pattern == ipLine);
} else {
params.angle = float(Geometry::deg2rad(region_config.solid_infill_direction.value));
params.rotate_angle = region_config.rotate_solid_infill_direction;
Expand Down

0 comments on commit a12af8a

Please sign in to comment.