[GRASS-SVN] r48031 - grass/trunk/display/d.vect

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Sep 1 09:58:59 EDT 2011


Author: martinl
Date: 2011-09-01 06:58:58 -0700 (Thu, 01 Sep 2011)
New Revision: 48031

Modified:
   grass/trunk/display/d.vect/main.c
Log:
d.vect: don't stop rendering when outside of region, just print warning


Modified: grass/trunk/display/d.vect/main.c
===================================================================
--- grass/trunk/display/d.vect/main.c	2011-09-01 13:50:04 UTC (rev 48030)
+++ grass/trunk/display/d.vect/main.c	2011-09-01 13:58:58 UTC (rev 48031)
@@ -458,9 +458,8 @@
     if (level >= 2 && (window.north < box.S || window.south > box.N ||
 		       window.east < box.W ||
 		       window.west > G_adjust_easting(box.E, &window))) {
-	G_message(_("The bounding box of the map is outside the current region, "
+	G_warning(_("The bounding box of the map is outside the current region, "
 		    "nothing drawn"));
-	exit(EXIT_SUCCESS);
     }
     else {
 	overlap = G_window_percentage_overlap(&window, box.N, box.S,



More information about the grass-commit mailing list