|
@@ -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) {
|
|
if (level < 2 && Map->head.with_z) {
|
|
/* topo has been initialized as 2D, update to 3D */
|
|
/* topo has been initialized as 2D, update to 3D */
|
|
dig_free_plus(&(Map->plus));
|
|
dig_free_plus(&(Map->plus));
|
|
-
|
|
|
|
- Map->plus.with_z = Map->head.with_z;
|
|
|
|
dig_init_plus(&(Map->plus));
|
|
dig_init_plus(&(Map->plus));
|
|
|
|
+ Map->plus.with_z = Map->head.with_z;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
else if (level > 1) {
|
|
else if (level > 1) {
|