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 )
311
311
offset = posMapCoord - mPosMapCoordBackup ;
312
312
for ( int i = 0 ; i < mTopologyRubberBand .size (); i++ )
313
313
{
314
- for ( int pointIndex = 0 ; pointIndex < mTopologyRubberBand [i]->numberOfVertices () - 1 ; pointIndex++ )
314
+ for ( int pointIndex = 0 ; pointIndex < mTopologyRubberBand [i]->numberOfVertices (); pointIndex++ )
315
315
{
316
316
if ( mTopologyRubberBandVertexes [i]->contains ( pointIndex ) )
317
317
{
@@ -321,10 +321,6 @@ void QgsMapToolNodeTool::canvasMoveEvent( QMouseEvent * e )
321
321
break ;
322
322
}
323
323
mTopologyRubberBand [i]->movePoint ( pointIndex, *point + offset );
324
- if ( pointIndex == 0 )
325
- {
326
- mTopologyRubberBand [i]->movePoint ( pointIndex, *point + offset );
327
- }
328
324
}
329
325
}
330
326
}
You can’t perform that action at this time.
0 commit comments