Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
This commit is contained in:
commit
2827609539
1 changed files with 2 additions and 1 deletions
|
@ -3751,7 +3751,8 @@ Linef3 GLCanvas3D::mouse_ray(const Point& mouse_pos)
|
||||||
|
|
||||||
double GLCanvas3D::get_size_proportional_to_max_bed_size(double factor) const
|
double GLCanvas3D::get_size_proportional_to_max_bed_size(double factor) const
|
||||||
{
|
{
|
||||||
return factor * m_bed.build_volume().bounding_volume().max_size();
|
const BoundingBoxf& bbox = m_bed.build_volume().bounding_volume2d();
|
||||||
|
return factor * std::max(bbox.size()[0], bbox.size()[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GLCanvas3D::set_cursor(ECursorType type)
|
void GLCanvas3D::set_cursor(ECursorType type)
|
||||||
|
|
Loading…
Reference in a new issue