mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Fixed a crash when capturing polylines.
git-svn-id: http://svn.osgeo.org/qgis/trunk@12954 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
3414424412
commit
6369374ba6
@ -6394,7 +6394,7 @@ void QgsGeometry::validatePolyline( QList<Error> &errors, int i, QgsPolyline lin
|
||||
while ( j < line.size() - 1 )
|
||||
{
|
||||
int n = 0;
|
||||
while ( j < line.size() && line[j] == line[j+1] )
|
||||
while ( j < line.size() - 1 && line[j] == line[j+1] )
|
||||
{
|
||||
line.remove( j );
|
||||
n++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user