mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-11 05:01:49 +08:00
Fix for broken zoom to bed command
This commit is contained in:
parent
9561fd8cc6
commit
cb44542377
@ -1354,7 +1354,10 @@ void GLCanvas3D::allow_multisample(bool allow)
|
|||||||
|
|
||||||
void GLCanvas3D::zoom_to_bed()
|
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()
|
void GLCanvas3D::zoom_to_volumes()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user