Kaynağa Gözat

Vlib: fix 3D info

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@56241 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 12 yıl önce
ebeveyn
işleme
2392871e4d
1 değiştirilmiş dosya ile 1 ekleme ve 2 silme
  1. 1 2
      lib/vector/Vlib/open.c

+ 1 - 2
lib/vector/Vlib/open.c

@@ -432,9 +432,8 @@ int Vect__open_old(struct Map_info *Map, const char *name, const char *mapset,
 	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) {