mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 01:52:11 +00:00
Fix for broken zoom to bed command
This commit is contained in:
@@ -1354,7 +1354,10 @@ void GLCanvas3D::allow_multisample(bool allow)
|
||||
|
||||
void GLCanvas3D::zoom_to_bed()
|
||||
{
|
||||
_zoom_to_box(m_bed.build_volume().bounding_volume());
|
||||
BoundingBoxf3 box = m_bed.build_volume().bounding_volume();
|
||||
box.min.z() = 0.0;
|
||||
box.max.z() = 0.0;
|
||||
_zoom_to_box(box);
|
||||
}
|
||||
|
||||
void GLCanvas3D::zoom_to_volumes()
|
||||
|
||||
Reference in New Issue
Block a user