Fix for broken zoom to bed command
This commit is contained in:
parent
9561fd8cc6
commit
cb44542377
1 changed files with 4 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue