1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

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
+2 -4
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