[GRASS-SVN] r54529 - grass/trunk/vector/v.buffer

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jan 4 08:14:35 PST 2013


Author: mmetz
Date: 2013-01-04 08:14:34 -0800 (Fri, 04 Jan 2013)
New Revision: 54529

Modified:
   grass/trunk/vector/v.buffer/main.c
Log:
v.buffer: fix #1845

Modified: grass/trunk/vector/v.buffer/main.c
===================================================================
--- grass/trunk/vector/v.buffer/main.c	2013-01-04 15:21:51 UTC (rev 54528)
+++ grass/trunk/vector/v.buffer/main.c	2013-01-04 16:14:34 UTC (rev 54529)
@@ -735,13 +735,12 @@
     /* Dangles and bridges don't seem to be necessary if snapping is small enough. */
     /* Still needed for larger buffer distances ? */
 
-    /*
+    Vect_build_partial(&Out, GV_BUILD_AREAS);
     G_message(_("Removing dangles..."));
     Vect_remove_dangles(&Out, GV_BOUNDARY, -1, NULL);
 
     G_message (_("Removing bridges..."));
-    Vect_remove_bridges(&Out, NULL);
-    */
+    Vect_remove_bridges(&Out, NULL, NULL, NULL);
 
     G_message(_("Attaching islands..."));
     Vect_build_partial(&Out, GV_BUILD_ATTACH_ISLES);
@@ -830,7 +829,7 @@
 		int side[2];
 
 		Vect_get_line_areas(&Out, line, &side[0], &side[1]);
-		
+
 		if (!side[0] && !side[1])
 		    Vect_delete_line(&Out, line);
 	    }



More information about the grass-commit mailing list