diff options
author | Enrico Turri <enricoturri@seznam.cz> | 2019-04-25 10:46:26 +0300 |
---|---|---|
committer | Enrico Turri <enricoturri@seznam.cz> | 2019-04-25 10:46:26 +0300 |
commit | 11490dfb066e56829a6a11d63d29cde7d0956846 (patch) | |
tree | 9ae694cc38cf5137c9a3cdf9f3b961675a038537 /src/slic3r/GUI/GLSelectionRectangle.cpp | |
parent | ec2f319a3d7cce7958a750e142d06c3921e7bf84 (diff) |
Rectangle selection in 3D scene -> hovering detection
Diffstat (limited to 'src/slic3r/GUI/GLSelectionRectangle.cpp')
-rw-r--r-- | src/slic3r/GUI/GLSelectionRectangle.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/slic3r/GUI/GLSelectionRectangle.cpp b/src/slic3r/GUI/GLSelectionRectangle.cpp index 03ee7e1f6..9684bb5ec 100644 --- a/src/slic3r/GUI/GLSelectionRectangle.cpp +++ b/src/slic3r/GUI/GLSelectionRectangle.cpp @@ -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 |