Fix for bad wipe tower handling in arrangement

fixes #5320
This commit is contained in:
tamasmeszaros 2020-12-07 18:00:10 +01:00
parent b27e18c970
commit 598ac290a1
3 changed files with 7 additions and 8 deletions

View file

@ -3779,7 +3779,7 @@ GLCanvas3D::WipeTowerInfo GLCanvas3D::get_wipe_tower_info() const
m_config->opt_float("wipe_tower_y"));
wti.m_rotation = (M_PI/180.) * m_config->opt_float("wipe_tower_rotation_angle");
const BoundingBoxf3& bb = vol->bounding_box();
wti.m_bb_size = Vec2d(bb.size().x(), bb.size().y());
wti.m_bb = BoundingBoxf{to_2d(bb.min), to_2d(bb.max)};
break;
}
}