Skip to content
Permalink
Browse files

revert accidental change

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14657 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Nov 14, 2010
1 parent 8604b14 commit 354e991a2a6ce0f75c11de679b8dd5e322830dd4
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/gui/qgsrubberband.cpp
@@ -91,6 +91,11 @@ void QgsRubberBand::addPoint( const QgsPoint & p, bool do_update /* = true */, i
mPoints.push_back( QList<QgsPoint>() );
}

//we need to set two points at the begin of the rubber band for operations that move the last point
if ( mPoints[geometryIndex].size() == 0 )
{
mPoints[geometryIndex].push_back( p );
}
mPoints[geometryIndex].push_back( p );

if ( do_update )

0 comments on commit 354e991

Please sign in to comment.
You can’t perform that action at this time.