[GRASS-SVN] r58420 - grass/trunk/lib/vector/vedit
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Dec 8 16:58:10 PST 2013
Author: martinl
Date: 2013-12-08 16:58:09 -0800 (Sun, 08 Dec 2013)
New Revision: 58420
Modified:
grass/trunk/lib/vector/vedit/render.c
Log:
veditlib: Vedit_render_map() centroid as fid for areas
Modified: grass/trunk/lib/vector/vedit/render.c
===================================================================
--- grass/trunk/lib/vector/vedit/render.c 2013-12-09 00:57:24 UTC (rev 58419)
+++ grass/trunk/lib/vector/vedit/render.c 2013-12-09 00:58:09 UTC (rev 58420)
@@ -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 = area;
+ robj->fid = centroid;
robj_points(robj, state.Points);
list_append(list, robj);
More information about the grass-commit
mailing list