Skip to content

Commit

Permalink
Fixed regression causing hangs and bad extra perimeter calculation. S…
Browse files Browse the repository at this point in the history
  • Loading branch information
alranel committed Dec 16, 2016
1 parent 7472077 commit 8f0d8f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xs/src/libslic3r/PrintObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ PrintObject::_make_perimeters()
while (true) {
// compute the total thickness of perimeters
const coord_t perimeters_thickness = ext_perimeter_width/2 + ext_perimeter_spacing/2
+ (region.config.perimeters-1 + region.config.extra_perimeters) * perimeter_spacing;
+ (region.config.perimeters-1 + slice->extra_perimeters) * perimeter_spacing;

// define a critical area where we don't want the upper slice to fall into
// (it should either lay over our perimeters or outside this area)
Expand Down

0 comments on commit 8f0d8f2

Please sign in to comment.