[vtkusers] TkRenderWindow Problems
Erik Sobel
erik.sobel at alphatech.com
Thu Jun 8 09:50:29 EDT 2000
Has anybody had the following problems with the vtkTkRenderWindow?
1) Crash when I close a tcl app which contains a vtkTkRenderWindow while
the app is minimized (this is on WinNT vtk 3.1.1). It exits ok if the app
is not minimized.
2) Crash if I remove actors from the renderer and then exit the app. It
exits ok if I RemoveActor and then AddActor it back. If I use a regular
vtkRenderWindow instead of the vtkTkRenderWindow I can add and remove
actors all day without this problem. It is also necessary to call renWin
Render after RemoveActor to get it to crash. If you don't render, it
doesn't crash.
The crashes are access violations ("Attempted to access memory blah blah
blah..."). Am I supposed to handle resource allocation and release
differently when using the TkRenderWindow?
Thanks,
Erik
More information about the vtkusers
mailing list