Rectangle selection in 3D scene -> hovering detection

This commit is contained in:
Enrico Turri 2019-04-25 09:46:26 +02:00
parent ec2f319a3d
commit 11490dfb06
6 changed files with 148 additions and 26 deletions

View file

@ -59,10 +59,8 @@ namespace GUI {
void GLSelectionRectangle::stop_dragging()
{
if (!is_dragging())
return;
m_state = Off;
if (is_dragging())
m_state = Off;
}
void GLSelectionRectangle::render(const GLCanvas3D& canvas) const