[GRASS-SVN] r56561 - grass/trunk/lib/ogsf

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jun 2 08:40:38 PDT 2013


Author: annakrat
Date: 2013-06-02 08:40:37 -0700 (Sun, 02 Jun 2013)
New Revision: 56561

Modified:
   grass/trunk/lib/ogsf/gvd.c
Log:
ogsf: fix changing height of vector lines

Modified: grass/trunk/lib/ogsf/gvd.c
===================================================================
--- grass/trunk/lib/ogsf/gvd.c	2013-06-02 15:39:24 UTC (rev 56560)
+++ grass/trunk/lib/ogsf/gvd.c	2013-06-02 15:40:37 UTC (rev 56561)
@@ -100,7 +100,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