Fixed compilation on OSX & LInux
This commit is contained in:
parent
b610866d77
commit
b35f5780dc
1 changed files with 1 additions and 1 deletions
|
@ -381,7 +381,7 @@ WipeTower::ToolChangeResult WipeTowerPrusaMM::prime(float first_layer_height, st
|
||||||
// Minimum wipe area is 5mm wide.
|
// Minimum wipe area is 5mm wide.
|
||||||
//FIXME calculate the purge_lines_width precisely.
|
//FIXME calculate the purge_lines_width precisely.
|
||||||
float purge_lines_width = 1.3f;
|
float purge_lines_width = 1.3f;
|
||||||
wipe_area = std::max(5.f, m_wipe_area - floor(e_length / m_wipe_tower_width) * dy - purge_lines_width);
|
wipe_area = std::max(5.f, m_wipe_area - float(floor(e_length / m_wipe_tower_width)) * dy - purge_lines_width);
|
||||||
}
|
}
|
||||||
|
|
||||||
this->set_layer(first_layer_height, first_layer_height, tools.size(), true, false);
|
this->set_layer(first_layer_height, first_layer_height, tools.size(), true, false);
|
||||||
|
|
Loading…
Reference in a new issue