[GRASS-SVN] r53635 - grass/trunk/display/d.vect
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Nov 1 10:23:32 PDT 2012
Author: mmetz
Date: 2012-11-01 10:23:32 -0700 (Thu, 01 Nov 2012)
New Revision: 53635
Modified:
grass/trunk/display/d.vect/area.c
Log:
d.vect: fix r53626
Modified: grass/trunk/display/d.vect/area.c
===================================================================
--- grass/trunk/display/d.vect/area.c 2012-11-01 06:58:34 UTC (rev 53634)
+++ grass/trunk/display/d.vect/area.c 2012-11-01 17:23:32 UTC (rev 53635)
@@ -162,7 +162,7 @@
(Clist->field > 0 ? Clist->field :
(Cats->n_cats > 0 ? Cats->field[0] : 1)));
- if (cat == -1) {
+ if (!centroid && cat == -1) {
continue;
}
More information about the grass-commit
mailing list