Skip to content

Commit 3c7d74f

Browse files
committed
[GRASS] limit number of cleaning cycles
1 parent 212a924 commit 3c7d74f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/grass/qgis.v.in.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ int main( int argc, char **argv )
335335
Vect_break_polygons( map, GV_BOUNDARY, NULL );
336336
G_message( "Removing duplicates" );
337337
Vect_remove_duplicates( map, GV_BOUNDARY | GV_CENTROID, NULL );
338-
while ( true )
338+
for ( int i = 0; i < 3; i++ )
339339
{
340340
G_message( "Breaking lines" );
341341
Vect_break_lines( map, GV_BOUNDARY, NULL );

0 commit comments

Comments
 (0)