浏览代码

ogsf: fix rendering points (z-coordinate)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@47716 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 年之前
父节点
当前提交
cb6f5466b8
共有 1 个文件被更改,包括 7 次插入7 次删除
  1. 7 7
      lib/ogsf/gpd.c

+ 7 - 7
lib/ogsf/gpd.c

@@ -268,13 +268,6 @@ int gpd_2dsite(geosite * gp, geosurf * gs, int do_fast)
 	    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 @@ int gpd_2dsite(geosite * gp, geosurf * gs, int do_fast)
 		    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);