src/gldraw.cpp

changeset 281
7904abfbdcef
parent 276
a21e49914264
child 282
c890f42c8054
--- a/src/gldraw.cpp	Thu Jun 13 03:08:17 2013 +0300
+++ b/src/gldraw.cpp	Thu Jun 13 03:12:34 2013 +0300
@@ -888,8 +888,10 @@
 					return;
 				}
 				
-				if (m_drawedVerts.size () == 0 && ev->modifiers () & Qt::ShiftModifier)
+				if (m_drawedVerts.size () == 0 && ev->modifiers () & Qt::ShiftModifier) {
 					m_rectdraw = true;
+					updateRectVerts ();
+				}
 			}
 			
 			addDrawnVertex (m_hoverpos);

mercurial