[vtkusers] MakeCurrent error with multiple renderwindows and vtkPropPicker
laurachenlc
laurachenlc at 163.com
Fri Oct 27 00:05:19 EDT 2017
and the attached is my project on this problem.
At 2017-10-27 09:19:43, "LauraLC" <laurachenlc at 163.com> wrote:
>Hi,
>
>I have add the same actor into 2 qvtkWidget, and for the renderwindow of
>one qvtkWidget, I add an InteractorStyle with vtkPropPicker;
>now the problem is: if I click the actor in the first qvtkWidget, and then
>click it in another qvtkWidget, then click in the first qvtkWidget again,
>the error pops up:
>---------------
>ERROR: In C:\Activiz\VTK7.1\Rendering\OpenGL\vtkWin32OpenGLRenderWindow.cxx,
>line 248
>vtkWin32OpenGLRenderWindow (000002A17C00FD20): Attempting to call
>MakeCurrent for a different window than the one doing the picking, this can
>causes crashes and/or bad pick results
>-----------------
>
>is there any body know what's the problem and how to handle it?
>
>Thanks
>
>
>
>--
>Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
>_______________________________________________
>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
>
>Search the list archives at: http://markmail.org/search/?q=vtkusers
>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20171027/08444f27/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MakeCurrentError.zip
Type: application/x-zip-compressed
Size: 9079 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20171027/08444f27/attachment.bin>
More information about the vtkusers
mailing list