src/editmodes/abstracteditmode.cc

changeset 824
6add2126e7ff
parent 823
1a2f593f0c02
child 825
f7649c9bfd9a
equal deleted inserted replaced
823:1a2f593f0c02 824:6add2126e7ff
60 return; 60 return;
61 61
62 m_drawedVerts << pos; 62 m_drawedVerts << pos;
63 } 63 }
64 64
65 virtual void AbstractDrawMode::mouseReleased (MouseEventData const& data) 65 bool AbstractDrawMode::mouseReleased (MouseEventData const& data)
66 { 66 {
67 if (Super::mouseReleased (data))
68 return true;
69
67 if (data.releasedButtons & Qt::MidButton) 70 if (data.releasedButtons & Qt::MidButton)
68 { 71 {
69 // Find the closest vertex to our cursor 72 // Find the closest vertex to our cursor
70 double minimumDistance = 1024.0; 73 double minimumDistance = 1024.0;
71 const Vertex* closest = null; 74 const Vertex* closest = null;

mercurial