Skip to content

Commit

Permalink
Remove useless (0,0) start point
Browse files Browse the repository at this point in the history
  • Loading branch information
YoannQDQ committed Apr 17, 2023
1 parent f933a51 commit f832f8b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/app/qgsmeasuretool.cpp
Expand Up @@ -36,8 +36,6 @@ QgsMeasureTool::QgsMeasureTool( QgsMapCanvas *canvas, bool measureArea )
mRubberBand = new QgsRubberBand( canvas, mMeasureArea ? Qgis::GeometryType::Polygon : Qgis::GeometryType::Line );
mRubberBandPoints = new QgsRubberBand( canvas, Qgis::GeometryType::Point );

// Append point we will move
mPoints.append( QgsPointXY( 0, 0 ) );
mDestinationCrs = canvas->mapSettings().destinationCrs();

mDialog = new QgsMeasureDialog( this );
Expand Down

0 comments on commit f832f8b

Please sign in to comment.