[GRASS-CVS] glynn: grass6/display/d.rast display.c,2.12,2.13

grass at intevation.de grass at intevation.de
Mon Nov 26 19:26:33 EST 2007


Author: glynn

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

Modified Files:
	display.c 
Log Message:
Don't erase window


Index: display.c
===================================================================
RCS file: /grassrepository/grass6/display/d.rast/display.c,v
retrieving revision 2.12
retrieving revision 2.13
diff -u -d -r2.12 -r2.13
--- display.c	3 Aug 2007 16:14:41 -0000	2.12
+++ display.c	27 Nov 2007 00:26:30 -0000	2.13
@@ -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