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

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 17 16:13:29 EDT 2011


Author: martinl
Date: 2011-08-17 13:13:28 -0700 (Wed, 17 Aug 2011)
New Revision: 47716

Modified:
   grass/trunk/lib/ogsf/gpd.c
Log:
ogsf: fix rendering points (z-coordinate)


Modified: grass/trunk/lib/ogsf/gpd.c
===================================================================
--- grass/trunk/lib/ogsf/gpd.c	2011-08-17 19:53:14 UTC (rev 47715)
+++ grass/trunk/lib/ogsf/gpd.c	2011-08-17 20:13:28 UTC (rev 47716)
@@ -268,13 +268,6 @@
 	    continue;
 	}
 	
-	if (gpt->highlighted > 0)
-	    gpd_obj(gs, gp->hstyle, site);
-	else if (gp->tstyle && gp->tstyle->active)
-	    gpd_obj(gs, gpt->style, site);
-	else
-	    gpd_obj(gs, gp->style, site);
-	
 	if (src == MAP_ATT) {
 	    if (viewcell_tri_interp(gs, buf, site, 1)) {
 		/* returns 0 if outside or masked */
@@ -293,6 +286,13 @@
 		    continue;
 	    }
 	}
+	
+	if (gpt->highlighted > 0)
+	    gpd_obj(gs, gp->hstyle, site);
+	else if (gp->tstyle && gp->tstyle->active)
+	    gpd_obj(gs, gpt->style, site);
+	else
+	    gpd_obj(gs, gp->style, site);
     }
 
     gsd_linewidth(1);



More information about the grass-commit mailing list