Hamish wrote: > > > > Try making this change to the d.correlate script: > > > > > > > > --- d.correlate (revision 41749) > > > > +++ d.correlate (working copy) > > > > @@ -97,6 +97,8 @@ > > > > fi > > > > > > > > d.erase > > > > +GRASS_PNG_READ=TRUE > > > > +export GRASS_PNG_READ > > > > if [ $? != 0 ] ; then > > > > exit 1 > > > > fi > > > > > > Should this be submitted? > > > > I think so. > > > > I'll make the equivalent fix for 7.0. > > > is this appropriate for Xmon use in grass6?
XDRIVER doesn't pay any attention to GRASS_PNG_READ, so it's unaffected. GRASS_PNG_READ=TRUE causes the framebuffer contents to be preserved from one call to the next, rather than each command starting with a blank "screen". Scripts which run multiple d.* commands typically need this in order to work correctly with direct rendering. -- Glynn Clements <gl...@gclements.plus.com> _______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user