Tech ENABLE_NEW_RECTANGLE_SELECTION set as default
This commit is contained in:
parent
6d97de14d9
commit
89ac932628
3 changed files with 25 additions and 90 deletions
|
@ -36,9 +36,7 @@ public:
|
|||
void render(const GLCanvas3D& canvas);
|
||||
|
||||
bool is_dragging() const { return m_state != EState::Off; }
|
||||
#if ENABLE_NEW_RECTANGLE_SELECTION
|
||||
bool is_empty() const { return m_state == EState::Off || m_start_corner.isApprox(m_end_corner); }
|
||||
#endif // ENABLE_NEW_RECTANGLE_SELECTION
|
||||
|
||||
EState get_state() const { return m_state; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue