Duplicate calls to d.rast when using wx monitor and d.rast command line
|Reported by:||hcho||Owned by:||martinl|
When I do
d.mon wx0 d.rast elev
"d.rast elev" renders the raster map and saves its command to the command file. Then, the wx monitor calls "d.rast elev" again because it's trying to redraw previously added raster maps and overlay them with "elev".
IMO, to avoid duplicate calls to d.rast, if we call d.rast from the command line and the selected monitor is wx, it should simply add d.rast commands to the command file and let the monitor handle actual drawing.