[GRASS-SVN] r39212 - grass/trunk/raster/r.colors
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Sep 15 01:03:06 EDT 2009
Author: glynn
Date: 2009-09-15 01:03:04 -0400 (Tue, 15 Sep 2009)
New Revision: 39212
Modified:
grass/trunk/raster/r.colors/thumbnails.py
Log:
Unset GRASS_RENDER_IMMEDIATE, GRASS_LINE_WIDTH, and GRASS_ANTIALIAS
Modified: grass/trunk/raster/r.colors/thumbnails.py
===================================================================
--- grass/trunk/raster/r.colors/thumbnails.py 2009-09-14 23:33:23 UTC (rev 39211)
+++ grass/trunk/raster/r.colors/thumbnails.py 2009-09-15 05:03:04 UTC (rev 39212)
@@ -104,6 +104,10 @@
os.environ['GRASS_TRANSPARENT'] = 'FALSE'
os.environ['GRASS_BACKGROUNDCOLOR'] = 'ffffff'
+ for var in ['GRASS_RENDER_IMMEDIATE','GRASS_LINE_WIDTH','GRASS_ANTIALIAS']:
+ if var in os.environ:
+ del os.environ[var]
+
grass.use_temp_region()
grass.run_command('g.region', rows = 100, cols = 100)
More information about the grass-commit
mailing list