[GRASS-SVN] r54406 - grass/trunk/lib/vector/vedit

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Dec 26 03:02:06 PST 2012


Author: martinl
Date: 2012-12-26 03:01:58 -0800 (Wed, 26 Dec 2012)
New Revision: 54406

Modified:
   grass/trunk/lib/vector/vedit/render.c
Log:
vedit: fix area ids in Vedit_render_map()


Modified: grass/trunk/lib/vector/vedit/render.c
===================================================================
--- grass/trunk/lib/vector/vedit/render.c	2012-12-26 11:00:12 UTC (rev 54405)
+++ grass/trunk/lib/vector/vedit/render.c	2012-12-26 11:01:58 UTC (rev 54406)
@@ -467,7 +467,7 @@
     /* get area's boundary */
     Vect_get_area_points(Map, area, state.Points);
     robj = robj_alloc(TYPE_AREA, state.Points->n_points);
-    robj->fid = centroid;
+    robj->fid = area;
     robj_points(robj, state.Points);
     list_append(list, robj);
 



More information about the grass-commit mailing list