[vtkusers] glLightModelfv() causes crash
David Gobbi
david.gobbi at gmail.com
Tue Mar 1 19:36:20 EST 2011
I just had to glance at the code to see something badly wrong
with it... it calls Render() on the renderer. This should never
be done. Applications should only call Render() on a
vtkRenderWindow or on a vtkRenderWindowInteractor.
- David
On Tue, Mar 1, 2011 at 5:27 PM, vlibertiaux <vlibertiaux at gmail.com> wrote:
> Just for information, here is the code that call the incriminated part:
> http://codepad.org/AzzUGwli
>
> the code crashes at line 70 when the Render method of the renderer object is
> called.
>
> Hope there is a big mistake somewhere within that portion because otherwise
> I can't figure out what's wrong.
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/glLightModelfv-causes-crash-tp3391983p3405928.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list