[GRASS-SVN] r35181 - grass/branches/develbranch_6/display/d.vect

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jan 3 08:24:59 EST 2009


Author: neteler
Date: 2009-01-03 08:24:59 -0500 (Sat, 03 Jan 2009)
New Revision: 35181

Modified:
   grass/branches/develbranch_6/display/d.vect/area.c
Log:
mlennert: draw boundary also with -c (trac #171)

Modified: grass/branches/develbranch_6/display/d.vect/area.c
===================================================================
--- grass/branches/develbranch_6/display/d.vect/area.c	2009-01-03 11:08:18 UTC (rev 35180)
+++ grass/branches/develbranch_6/display/d.vect/area.c	2009-01-03 13:24:59 UTC (rev 35181)
@@ -380,14 +380,9 @@
 	    int i;
 
 	    Vect_get_area_points(Map, area, Points);
-	    if (rgb) {
-		R_RGB_color((unsigned char)red, (unsigned char)grn,
-			    (unsigned char)blu);
-	    }
-	    else {
-		R_RGB_color(bcolor->r, bcolor->g, bcolor->b);
-	    }
-	    /*use different user defined render methods */
+	    R_RGB_color(bcolor->r, bcolor->g, bcolor->b);
+
+    	    /*use different user defined render methods */
 	    plot_polyline(Points->x, Points->y, Points->n_points);
 	    for (i = 0; i < n_isles; i++) {
 		isle = Vect_get_area_isle(Map, area, i);



More information about the grass-commit mailing list