[GRASS-SVN] r56576 - grass/branches/releasebranch_6_4/lib/ogsf

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jun 3 11:36:44 PDT 2013


Author: annakrat
Date: 2013-06-03 11:36:44 -0700 (Mon, 03 Jun 2013)
New Revision: 56576

Modified:
   grass/branches/releasebranch_6_4/lib/ogsf/gvd.c
Log:
ogsf: fix changing height of vector lines (merge from trunk, r56561)

Modified: grass/branches/releasebranch_6_4/lib/ogsf/gvd.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/ogsf/gvd.c	2013-06-03 18:35:16 UTC (rev 56575)
+++ grass/branches/releasebranch_6_4/lib/ogsf/gvd.c	2013-06-03 18:36:44 UTC (rev 56576)
@@ -104,7 +104,7 @@
 
     if (src == CONST_ATT) {
 	konst = gs->att[ATT_TOPO].constant;
-	bgn[Z] = end[Z] = konst;
+	bgn[Z] = end[Z] = konst + gv->z_trans;
     }
 
     gsd_pushmatrix();



More information about the grass-commit mailing list