[vtkusers] python vtk BadRequest

Eleftherios Garyfallidis garyfallidis at gmail.com
Tue Jul 19 14:05:30 EDT 2011


Unfortunately not. After added ren.SetRenderWindow(None) still get the same
BadRequest error. :-(

On Tue, Jul 19, 2011 at 6:52 PM, David Gobbi <david.gobbi at gmail.com> wrote:

> On Tue, Jul 19, 2011 at 11:39 AM, Eleftherios Garyfallidis
> <garyfallidis at gmail.com> wrote:
> > When I do add window.RemoveRenderer(ren) after iren.Start() the next time
> I
> > call show I get segmentation fault.
>
> You've found a bug.  I read through the cxx code for
> window.RemoveRenderer(ren) and it doesn't call
> ren->SetRenderWindow(NULL) like it should.
>
> You can try adding ren.SetRenderWindow(None) after RemoveRenderer()
> and see if that helps.
>
>  - David
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110719/f435ab7d/attachment.htm>


More information about the vtkusers mailing list