mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 02:37:51 -06:00
Modified render order of gizmos
This commit is contained in:
parent
7f542a0f85
commit
5f6a8adf7c
2 changed files with 4 additions and 2 deletions
|
@ -837,7 +837,7 @@ void GLGizmoScale3D::on_render(const BoundingBoxf3& box) const
|
|||
{
|
||||
::glEnable(GL_DEPTH_TEST);
|
||||
|
||||
Vec3d offset_vec((double)Offset, (double)Offset, (double)Offset);
|
||||
Vec3d offset_vec = (double)Offset * Vec3d::Ones();
|
||||
|
||||
m_box = BoundingBoxf3(box.min - offset_vec, box.max + offset_vec);
|
||||
const Vec3d& center = m_box.center();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue