Unfortunately not. After added ren.SetRenderWindow(None) still get the same BadRequest error. :-(<br><br><div class="gmail_quote">On Tue, Jul 19, 2011 at 6:52 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On Tue, Jul 19, 2011 at 11:39 AM, Eleftherios Garyfallidis<br>
<<a href="mailto:garyfallidis@gmail.com">garyfallidis@gmail.com</a>> wrote:<br>
> When I do add window.RemoveRenderer(ren) after iren.Start() the next time I<br>
> call show I get segmentation fault.<br>
<br>
</div>You've found a bug. I read through the cxx code for<br>
window.RemoveRenderer(ren) and it doesn't call<br>
ren->SetRenderWindow(NULL) like it should.<br>
<br>
You can try adding ren.SetRenderWindow(None) after RemoveRenderer()<br>
and see if that helps.<br>
<font color="#888888"><br>
- David<br>
</font></blockquote></div><br>