mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-03 20:10:41 +08:00
make sure inner loop has length > 0 during shifting
This commit is contained in:
parent
3db64a7ad3
commit
af7ebbfab6
@ -1637,7 +1637,7 @@ void SeamPlacer::place_seam(const Layer *layer, ExtrusionLoop &loop, bool extern
|
|||||||
seam_point = projected_point.foot_pt;
|
seam_point = projected_point.foot_pt;
|
||||||
|
|
||||||
//lastly, for internal perimeters, do the shifting if needed
|
//lastly, for internal perimeters, do the shifting if needed
|
||||||
if (po->config().shifted_inner_seams) {
|
if (po->config().shifted_inner_seams && loop.length() > 0.0) {
|
||||||
//fix depth, it is sometimes strongly underestimated
|
//fix depth, it is sometimes strongly underestimated
|
||||||
depth = std::max(loop.paths[projected_point.path_idx].width, depth);
|
depth = std::max(loop.paths[projected_point.path_idx].width, depth);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user