Skip to content
Permalink
Browse files
when capturing line and polygons: don't place a vertex at the positio…
…n where the right click appears (the right click is now just to finish the line/polygon as suggested by Luca)

git-svn-id: http://svn.osgeo.org/qgis/trunk@5570 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jul 8, 2006
1 parent dc63a47 commit 9d4766b
Showing 1 changed file with 2 additions and 2 deletions.
@@ -210,11 +210,11 @@ QMessageBox::Ok);

QgsPoint digitisedPoint = toMapCoords(e->pos());
vlayer->snapPoint(digitisedPoint, tolerance);
mCaptureList.push_back(digitisedPoint);
mRubberBand->addPoint(digitisedPoint);

if (e->button() == Qt::LeftButton)
{
mCaptureList.push_back(digitisedPoint);
mRubberBand->addPoint(digitisedPoint);
mCapturing = TRUE;
}
else if (e->button() == Qt::RightButton)

0 comments on commit 9d4766b

Please sign in to comment.