Explorar el Código

d.vect: don't stop rendering when outside of region, just print warning

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@48031 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa hace 13 años
padre
commit
3aa3c0646b
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      display/d.vect/main.c

+ 1 - 2
display/d.vect/main.c

@@ -458,9 +458,8 @@ int main(int argc, char **argv)
     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,