[GRASS-SVN] r51022 - grass/trunk/lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Mar 9 11:04:11 EST 2012


Author: martinl
Date: 2012-03-09 08:04:11 -0800 (Fri, 09 Mar 2012)
New Revision: 51022

Modified:
   grass/trunk/lib/vector/Vlib/read_pg.c
Log:
vlib(pg): fix caching features (reset also fparts)


Modified: grass/trunk/lib/vector/Vlib/read_pg.c
===================================================================
--- grass/trunk/lib/vector/Vlib/read_pg.c	2012-03-09 09:54:13 UTC (rev 51021)
+++ grass/trunk/lib/vector/Vlib/read_pg.c	2012-03-09 16:04:11 UTC (rev 51022)
@@ -732,6 +732,7 @@
 	reallocate_cache(cache, 1);
     }
     cache->lines_num = 0;
+    fparts->n_parts = 0;
     
     ret = -1;
     if (ftype == SF_POINT) {



More information about the grass-commit mailing list