Skip to content
Permalink
Browse files

fix #42626

  • Loading branch information
vcloarec committed Apr 5, 2021
1 parent b6de378 commit 91eb65d5614d67d8ced974bfe52983e6f2fb7feb
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsmaptoolcapture.cpp
@@ -633,7 +633,7 @@ int QgsMapToolCapture::addVertex( const QgsPointXY &point, const QgsPointLocator
mCaptureLastPoint = mapPoint;
mTempRubberBand->reset( mCaptureMode == CapturePolygon ? QgsWkbTypes::PolygonGeometry : QgsWkbTypes::LineGeometry, mDigitizingType, firstCapturedMapPoint() );
}
else if ( mCaptureCurve.numPoints() == 0 )
else if ( mTempRubberBand->pointsCount() == 0 )
{
mCaptureLastPoint = mapPoint;
mCaptureCurve.addVertex( layerPoint );

0 comments on commit 91eb65d

Please sign in to comment.