[GRASS-SVN] r46999 - grass/trunk/lib/display

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jul 5 09:10:15 EDT 2011


Author: martinl
Date: 2011-07-05 06:10:15 -0700 (Tue, 05 Jul 2011)
New Revision: 46999

Modified:
   grass/trunk/lib/display/r_raster.c
Log:
displaylib: don't require monitor when GRASS_RENDER_IMMEDIATE is defined


Modified: grass/trunk/lib/display/r_raster.c
===================================================================
--- grass/trunk/lib/display/r_raster.c	2011-07-05 13:09:21 UTC (rev 46998)
+++ grass/trunk/lib/display/r_raster.c	2011-07-05 13:10:15 UTC (rev 46999)
@@ -9,6 +9,7 @@
   (>=v2). Read the file COPYING that comes with GRASS for details.
 
   \author Original author CERL
+  \author Monitors support by Martin Landa <landa.martin gmail.com>
 */
 
 #include <grass/config.h>
@@ -151,7 +152,7 @@
 
     init();
 
-    if (!m)
+    if (!getenv("GRASS_RENDER_IMMEDIATE") && !m)
 	return 1;
 
     return 0;



More information about the grass-commit mailing list