[GRASS-SVN] r39666 - grass/trunk/lib/vector/Vlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Nov 2 03:21:07 EST 2009
Author: mmetz
Date: 2009-11-02 03:21:05 -0500 (Mon, 02 Nov 2009)
New Revision: 39666
Modified:
grass/trunk/lib/vector/Vlib/open.c
Log:
disable unused feature
Modified: grass/trunk/lib/vector/Vlib/open.c
===================================================================
--- grass/trunk/lib/vector/Vlib/open.c 2009-11-02 03:12:19 UTC (rev 39665)
+++ grass/trunk/lib/vector/Vlib/open.c 2009-11-02 08:21:05 UTC (rev 39666)
@@ -519,6 +519,8 @@
ret = Vect__open_old(Map, name, mapset, NULL, 1, 0);
+ /* the update lists are unused, a waste of time and memory */
+ /*
if (ret > 0) {
Map->plus.do_uplist = 1;
@@ -528,11 +530,8 @@
Map->plus.upnodes = NULL;
Map->plus.n_upnodes = 0;
Map->plus.alloc_upnodes = 0;
-
- /* read spatial index */
- /* Build spatial index from topo */
- /* Vect_build_sidx_from_topo(Map); */
}
+ */
return ret;
}
@@ -581,7 +580,9 @@
ret = Vect__open_old(Map, name, mapset, NULL, 1, 1);
- if (ret > 0) { /* Probably not important */
+ /* the update lists are unused, a waste of time and memory */
+ /*
+ if (ret > 0) {
Map->plus.do_uplist = 1;
Map->plus.uplines = NULL;
@@ -591,6 +592,7 @@
Map->plus.n_upnodes = 0;
Map->plus.alloc_upnodes = 0;
}
+ */
return ret;
}
More information about the grass-commit
mailing list