[GRASS-SVN] r41336 - grass/branches/releasebranch_6_4/vector/v.split

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Mar 7 15:16:17 EST 2010


Author: martinl
Date: 2010-03-07 15:16:17 -0500 (Sun, 07 Mar 2010)
New Revision: 41336

Modified:
   grass/branches/releasebranch_6_4/vector/v.split/main.c
Log:
v.split: create 3D vector map if input is 3D (backport from trunk)
(merge r41335 from devbr6)


Modified: grass/branches/releasebranch_6_4/vector/v.split/main.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.split/main.c	2010-03-07 20:06:46 UTC (rev 41335)
+++ grass/branches/releasebranch_6_4/vector/v.split/main.c	2010-03-07 20:16:17 UTC (rev 41336)
@@ -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