src/editmodes/abstracteditmode.cc

changeset 824
6add2126e7ff
parent 823
1a2f593f0c02
child 825
f7649c9bfd9a
--- a/src/editmodes/abstracteditmode.cc	Fri Jul 04 22:19:01 2014 +0300
+++ b/src/editmodes/abstracteditmode.cc	Fri Jul 04 22:40:35 2014 +0300
@@ -62,8 +62,11 @@
 	m_drawedVerts << pos;
 }
 
-virtual void AbstractDrawMode::mouseReleased (MouseEventData const& data)
+bool AbstractDrawMode::mouseReleased (MouseEventData const& data)
 {
+	if (Super::mouseReleased (data))
+		return true;
+
 	if (data.releasedButtons & Qt::MidButton)
 	{
 		// Find the closest vertex to our cursor

mercurial