|
Notes |
|
|
(0008862)
|
|
Luis Ibanez
|
|
2007-09-06 15:12
|
|
The error only happens on Linux
and it arises from the MakeCurrent() method of the vtkXOpenGLRenderWindow class.
When the Fl_Gl_Window is hidden, its windowId becomes invalid. the vtkRenderWindow at destruction calls MakeCurrent() and finds that the windowId cannot be used. |
|
|
|
(0008863)
|
|
Luis Ibanez
|
|
2007-09-06 15:17
|
|
One possible solution is to overload the "hide()" method of the igstkView and fro m it call Finalize in the render window before allowing the call to proceed to the hide() method of the superclass.
In this way the vtkRenderWindow will release the OpenGL resources when the
WindowId and DisplayId are still valid. |
|
|
|
(0008864)
|
|
Luis Ibanez
|
|
2007-09-06 15:18
|
|
We have reproduced the problem,
and the solution of adding an overloaded version of hide() seems to work. |
|
|
|
(0008865)
|
|
Luis Ibanez
|
|
2007-09-06 15:25
|
|
|