Hi,<br><br>We tested this change indicated by Martin and it worked. Also tested it on Ubuntu, Mandriva and Windows.<br><br>Attached is the patch based on version 5.6.0 for download [1].<br><br>[1] - <a href="http://www.vtk.org/files/release/5.6/vtk-5.6.0.zip">http://www.vtk.org/files/release/5.6/vtk-5.6.0.zip</a><br>

<br>Good Luck!<br>Paulo Amorim<br><br><br><br><br><div class="gmail_quote">On 12 July 2010 21:36, Martin <span dir="ltr">&lt;<a href="mailto:martin@vic.co.jp">martin@vic.co.jp</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
I am getting this crash on CentOS 5.5 with VTK5.6 and wxPython 2.8 built from<br>
source.<br>
This solution worked well for me.<br>
Edit the wxVTKRenderWindowInteractor.py and at line 392(Or there about) change<br>
the line<br>
<br>
<br>
if d:<br>
<br>
to<br>
<br>
if d and _self.__has_painted:<br>
<br>
<br>
It seems the crash is caused by the self.Render() statement if<br>
self._Iren.GetRenderWindow().SetDisplayId(d) is set on the first pass.<br>
<br>
<br>
I did not have this problem in VTK5.4, but I have tried the patched<br>
wxVTKRenderWindowInteractor with VTK5.4 as well, and it does not seem to have<br>
any negative effect on 5.4 either.<br>
<div><div></div><div class="h5"><br>
<br>
<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br>