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/qgis@5570 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jul 8, 2006
1 parent 82bb1ac commit a8f632d48e784028605cfec622137296c52d16f9
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/qgsmaptoolcapture.cpp
@@ -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 a8f632d

Please sign in to comment.