File tree 2 files changed +1
-3
lines changed
2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -2587,7 +2587,7 @@ void QgsVertexTool::toggleVertexCurve()
2587
2587
if ( mDraggingVertex )
2588
2588
{
2589
2589
stopDragging ();
2590
- if ( mDraggingVertexType == AddingVertex || mDraggingVertexType == AddingEndpoint )
2590
+ if ( mDraggingVertexType == AddingVertex || mDraggingVertexType == AddingEndpoint )
2591
2591
{
2592
2592
QgisApp::instance ()->messageBar ()->pushMessage (
2593
2593
tr ( " Could not convert vertex" ),
Original file line number Diff line number Diff line change @@ -345,8 +345,6 @@ void QgsMapToolCapture::resetRubberBand()
345
345
if ( !mRubberBand )
346
346
return ;
347
347
QgsLineString *lineString = mCaptureCurve .curveToLine ();
348
- // maybe ?
349
- // mRubberBand->reset( mCaptureMode == CapturePolygon ? QgsWkbTypes::PolygonGeometry : QgsWkbTypes::LineGeometry, mDigitizingType );
350
348
mRubberBand ->reset ( mCaptureMode == CapturePolygon ? QgsWkbTypes::PolygonGeometry : QgsWkbTypes::LineGeometry );
351
349
QgsVectorLayer *vlayer = qobject_cast<QgsVectorLayer *>( mCanvas ->currentLayer () );
352
350
mRubberBand ->addGeometry ( QgsGeometry ( lineString ), vlayer );
You can’t perform that action at this time.
0 commit comments