[GRASS-CVS] markus: grass6/display/d.rast display.c,2.12,2.12.2.1

grass at intevation.de grass at intevation.de
Thu Nov 29 08:27:58 EST 2007


Author: markus

Update of /grassrepository/grass6/display/d.rast
In directory doto:/tmp/cvs-serv18805

Modified Files:
      Tag: releasebranch_6_3
	display.c 
Log Message:
Don't erase window (backport)

Index: display.c
===================================================================
RCS file: /grassrepository/grass6/display/d.rast/display.c,v
retrieving revision 2.12
retrieving revision 2.12.2.1
diff -u -d -r2.12 -r2.12.2.1
--- display.c	3 Aug 2007 16:14:41 -0000	2.12
+++ display.c	29 Nov 2007 13:27:56 -0000	2.12.2.1
@@ -35,10 +35,6 @@
 
     D_setup(0);
 
-    /* cell maps wipe out a picture, so we clear info on the window too */
-    if (!overlay)
-	D_clear_window();
-
     /* Go draw the raster map */
     cell_draw(name, mapset, &colors, overlay, invert, data_type) ;
 
@@ -52,14 +48,6 @@
 
 	D_add_to_list(G_recreate_command());
     }
-
-    /* If overlay add it to the list instead of setting the cell name */
-/*
-    if (overlay) {
-	sprintf(buf,"d.rast -o map=%s", G_fully_qualified_name(name,mapset));
-	D_add_to_list(buf) ;
-    }
-*/
 
     return 0;
 }




More information about the grass-commit mailing list