[GRASS-SVN] r59117 - grass/trunk/display/d.vect

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Feb 21 12:16:56 PST 2014


Author: martinl
Date: 2014-02-21 12:16:56 -0800 (Fri, 21 Feb 2014)
New Revision: 59117

Modified:
   grass/trunk/display/d.vect/shape.c
Log:
d.vect: don't render boundaries when  doesn't include them

Modified: grass/trunk/display/d.vect/shape.c
===================================================================
--- grass/trunk/display/d.vect/shape.c	2014-02-21 20:06:37 UTC (rev 59116)
+++ grass/trunk/display/d.vect/shape.c	2014-02-21 20:16:56 UTC (rev 59117)
@@ -208,7 +208,7 @@
     stat = 0;
     if (type & GV_AREA && Vect_get_num_primitives(Map, GV_CENTROID | GV_BOUNDARY) > 0)
 	stat += display_area(Map, Clist, window, 
-			     bcolor, fcolor, chcat,
+			     type & GV_BOUNDARY ? bcolor : NULL, fcolor, chcat,
 			     id_flag, cats_colors_flag,
 			     default_width, width_scale,
 			     z_style ? &zcolors : NULL,



More information about the grass-commit mailing list