Wipe tower: fix the height of preview in 3D scene
This commit is contained in:
parent
b14855beda
commit
3d855580ce
2 changed files with 5 additions and 2 deletions
|
@ -1353,6 +1353,7 @@ const WipeTowerData& Print::wipe_tower_data(size_t extruders_cnt) const
|
|||
float layer_height = 0.2f; // just assume fixed value, it will still be better than before.
|
||||
|
||||
const_cast<Print*>(this)->m_wipe_tower_data.depth = (maximum/layer_height)/width;
|
||||
const_cast<Print*>(this)->m_wipe_tower_data.height = -1.f; // unknown yet
|
||||
}
|
||||
|
||||
return m_wipe_tower_data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue