[GRASS-SVN] r56241 - grass/trunk/lib/vector/Vlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon May 13 05:35:52 PDT 2013
Author: mmetz
Date: 2013-05-13 05:35:51 -0700 (Mon, 13 May 2013)
New Revision: 56241
Modified:
grass/trunk/lib/vector/Vlib/open.c
Log:
Vlib: fix 3D info
Modified: grass/trunk/lib/vector/Vlib/open.c
===================================================================
--- grass/trunk/lib/vector/Vlib/open.c 2013-05-13 12:34:45 UTC (rev 56240)
+++ grass/trunk/lib/vector/Vlib/open.c 2013-05-13 12:35:51 UTC (rev 56241)
@@ -432,9 +432,8 @@
if (level < 2 && Map->head.with_z) {
/* topo has been initialized as 2D, update to 3D */
dig_free_plus(&(Map->plus));
-
- Map->plus.with_z = Map->head.with_z;
dig_init_plus(&(Map->plus));
+ Map->plus.with_z = Map->head.with_z;
}
}
else if (level > 1) {
More information about the grass-commit
mailing list