[GRASS-SVN] r34738 - grass/branches/develbranch_6/ps/ps.map

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Dec 5 04:32:18 EST 2008


Author: hamish
Date: 2008-12-05 04:32:18 -0500 (Fri, 05 Dec 2008)
New Revision: 34738

Modified:
   grass/branches/develbranch_6/ps/ps.map/ps_vlegend.c
Log:
patch from Bob Covill to save pattern file for legend even if pattern is never used within the map region (trac #355)

Modified: grass/branches/develbranch_6/ps/ps.map/ps_vlegend.c
===================================================================
--- grass/branches/develbranch_6/ps/ps.map/ps_vlegend.c	2008-12-05 09:18:27 UTC (rev 34737)
+++ grass/branches/develbranch_6/ps/ps.map/ps_vlegend.c	2008-12-05 09:32:18 UTC (rev 34738)
@@ -192,6 +192,7 @@
 			    eps_bbox(vector.layer[i].pat, &llx, &lly, &urx,
 				     &ury);
 			    sprintf(pat, "APATTEPS%d", i);
+			    pat_save(PS.fp, vector.layer[i].pat, pat);
 
 			    fprintf(PS.fp,
 				    "<<  /PatternType 1\n    /PaintType 1\n    /TilingType 1\n");



More information about the grass-commit mailing list