[GRASS-SVN] r41335 - grass/branches/develbranch_6/vector/v.split
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Mar 7 15:06:48 EST 2010
Author: martinl
Date: 2010-03-07 15:06:46 -0500 (Sun, 07 Mar 2010)
New Revision: 41335
Modified:
grass/branches/develbranch_6/vector/v.split/main.c
Log:
v.split: create 3D vector map if input is 3D (backport from trunk)
Modified: grass/branches/develbranch_6/vector/v.split/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.split/main.c 2010-03-07 17:16:07 UTC (rev 41334)
+++ grass/branches/develbranch_6/vector/v.split/main.c 2010-03-07 20:06:46 UTC (rev 41335)
@@ -80,7 +80,7 @@
Vect_set_open_level(2);
Vect_open_old(&In, in_opt->answer, "");
- Vect_open_new(&Out, out_opt->answer, 0);
+ Vect_open_new(&Out, out_opt->answer, Vect_is_3d(&In));
Vect_copy_head_data(&In, &Out);
Vect_hist_copy(&In, &Out);
Vect_hist_command(&Out);
More information about the grass-commit
mailing list