File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -311,7 +311,7 @@ void QgsMapToolNodeTool::canvasMoveEvent( QMouseEvent * e )
311311 offset = posMapCoord - mPosMapCoordBackup ;
312312 for ( int i = 0 ; i < mTopologyRubberBand .size (); i++ )
313313 {
314- for ( int pointIndex = 0 ; pointIndex < mTopologyRubberBand [i]->numberOfVertices () - 1 ; pointIndex++ )
314+ for ( int pointIndex = 0 ; pointIndex < mTopologyRubberBand [i]->numberOfVertices (); pointIndex++ )
315315 {
316316 if ( mTopologyRubberBandVertexes [i]->contains ( pointIndex ) )
317317 {
@@ -321,10 +321,6 @@ void QgsMapToolNodeTool::canvasMoveEvent( QMouseEvent * e )
321321 break ;
322322 }
323323 mTopologyRubberBand [i]->movePoint ( pointIndex, *point + offset );
324- if ( pointIndex == 0 )
325- {
326- mTopologyRubberBand [i]->movePoint ( pointIndex, *point + offset );
327- }
328324 }
329325 }
330326 }
You can’t perform that action at this time.
0 commit comments