mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
Gizmos' grabbers size made uniform as the mean value of the selection's bounding box sides
This commit is contained in:
parent
0a3500b5ab
commit
1fbdf7bdaa
5 changed files with 11 additions and 20 deletions
|
@ -173,7 +173,7 @@ void GLGizmoCut::on_render(const Selection& selection) const
|
|||
::glEnd();
|
||||
|
||||
std::copy(std::begin(GrabberColor), std::end(GrabberColor), m_grabbers[0].color);
|
||||
m_grabbers[0].render(m_hover_id == 0, box.max_size());
|
||||
m_grabbers[0].render(m_hover_id == 0, (float)((box.size()(0) + box.size()(1) + box.size()(2)) / 3.0));
|
||||
}
|
||||
|
||||
void GLGizmoCut::on_render_for_picking(const Selection& selection) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue