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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Mar 7 17:08:42 EST 2010


Author: martinl
Date: 2010-03-07 17:08:42 -0500 (Sun, 07 Mar 2010)
New Revision: 41341

Modified:
   grass/branches/releasebranch_6_4/vector/v.split/main.c
Log:
be more precise in testing if input is 3d
(merge r41337 from trunk)


Modified: grass/branches/releasebranch_6_4/vector/v.split/main.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.split/main.c	2010-03-07 22:07:48 UTC (rev 41340)
+++ grass/branches/releasebranch_6_4/vector/v.split/main.c	2010-03-07 22:08:42 UTC (rev 41341)
@@ -80,7 +80,7 @@
 
     Vect_set_open_level(2);
     Vect_open_old(&In, in_opt->answer, "");
-    Vect_open_new(&Out, out_opt->answer, Vect_is_3d(&In));
+    Vect_open_new(&Out, out_opt->answer, Vect_is_3d(&In) ? WITH_Z : WITHOUT_Z);
     Vect_copy_head_data(&In, &Out);
     Vect_hist_copy(&In, &Out);
     Vect_hist_command(&Out);



More information about the grass-commit mailing list