mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 08:17:51 -06:00
FIX: small wipe tower width result in infinite loop
Change-Id: I1e25dba1728b9427a0cab2c2629c340bf2a4566a (cherry picked from commit b1fc2f5857e05a177c00134178ddd39882c2a6ab)
This commit is contained in:
parent
a801672963
commit
da4be5a802
2 changed files with 4 additions and 1 deletions
|
@ -1242,6 +1242,8 @@ void WipeTower::plan_toolchange(float z_par, float layer_height_par, unsigned in
|
|||
// this is an actual toolchange - let's calculate depth to reserve on the wipe tower
|
||||
float depth = 0.f;
|
||||
float width = m_wipe_tower_width - 2 * m_perimeter_width;
|
||||
if (width <= EPSILON)
|
||||
return;
|
||||
|
||||
// BBS: remove old filament ramming and first line
|
||||
#if 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue