[GRASS-dev] Re: [GRASS GIS] #104: saving display to tiff or ppm
garbled when NVIZ is not top window
Glynn Clements
glynn at gclements.plus.com
Fri Apr 4 19:25:07 EDT 2008
GRASS GIS wrote:
> #104: saving display to tiff or ppm garbled when NVIZ is not top window
> ----------------------+-----------------------------------------------------
> Reporter: dylan | Owner: grass-dev at lists.osgeo.org
> Type: defect | Status: new
> Priority: minor | Milestone: 6.4.0
> Component: default | Version: svn-trunk
> Resolution: | Keywords: NVIZ openGL
> ----------------------+-----------------------------------------------------
> Comment (by msieczka):
>
> Replying to [comment:17 glynn]:
> > Can you try this one instead?
> >
> > attachment:ticket:104:do_zoom-error.2.diff
>
> Allright! Same "X Error" crops out but no crash this time and the full-res
> ppm output completes.
Good. I'll commit that.
> > If that doesn't work, try:
> >
> > > Tk_CreateErrorHandler(dpy, -1, -1, -1, Error_Handler, NULL);
>
> I didn't bother as the first option worked. Do you want me to anyway?
> Could it be any better this way?
No, the first option is better, as the error handler will only be
called in response to GLX requests. I don't want to interfere with
Tk's error handling any more than is necessary.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list