[GRASS-SVN] r29851 - grass/trunk/scripts/d.vect.thematic
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jan 27 01:25:33 EST 2008
Author: cmbarton
Date: 2008-01-27 01:25:32 -0500 (Sun, 27 Jan 2008)
New Revision: 29851
Modified:
grass/trunk/scripts/d.vect.thematic/d.vect.thematic
Log:
A couple of code housekeeping cleanups, left over from testing. They don't seem to make any different to functionality, but potentially could under some circumstances.
Modified: grass/trunk/scripts/d.vect.thematic/d.vect.thematic
===================================================================
--- grass/trunk/scripts/d.vect.thematic/d.vect.thematic 2008-01-27 02:33:58 UTC (rev 29850)
+++ grass/trunk/scripts/d.vect.thematic/d.vect.thematic 2008-01-27 06:25:32 UTC (rev 29851)
@@ -349,7 +349,7 @@
GIS_FLAG_L=0
# if running in GUI, turn off immediate mode rendering so that the
# iterated d.vect commands will composite using the display driver
- rendermode=$GRASS_RENDER_IMMEDIATE
+ autowrite=$GRASS_PNG_AUTO_WRITE
pngread=$GRASS_PNG_READ
GRASS_PNG_READ=TRUE
export GRASS_PNG_READ
@@ -1150,11 +1150,10 @@
if [ "$GIS_FLAG_S" -eq 1 ] ; then
# reset display parameters
- #GRASS_PNG_READ=$pngread
- GRASS_PNG_READ=FALSE
+ GRASS_PNG_READ=$pngread
export GRASS_PNG_READ
- GRASS_RENDER_IMMEDIATE=$rendermode
- export GRASS_RENDER_IMMEDIATE
+ GRASS_PNG_AUTO_WRITE=$autowrite
+ export GRASS_PNG_AUTO_WRITE
fi
# Create graphic legend
More information about the grass-commit
mailing list