Fwd: Re: [vtkusers] small bug in startpick() method

Jeff Lee jeff at cdnorthamerica.com
Fri Feb 15 09:06:56 EST 2002


I agree, this is a problem if you don't call Render() in the picked 
window before you make the pick because in your case, the old glContext 
is being used in StartPick.  A simple workaround is to call Render on 
the renderWindow from which you are picking, but I think to be safe, 
that a MakeCurrent() should be called in vtkOpenGLRenderer::StartPick(). 
 What do you think, Ken?
-Jeff




More information about the vtkusers mailing list