Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 a8f632d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgsmaptoolcapture.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit a8f632d

Please sign in to comment.