<setVisible> on <OpenGLComponent>

I got a component A which has a child component B. B has two childs, one component C and one OpenGLComponent D. And I got this code:

void A::mouseUp
( const MouseEvent& e )

On mouse-up, C gets hidden, but D is still visible; <D::renderOpenGL()> is still called. Am I missing something here?

It looks like the openglcomp should be able to deal with that situation ok… What juce version is this?

It’s 1.51. (I checked out the latest working tip of the source tree, too, but that gave me too many compile errors, so I did not try this one.)

I think it might have changed since then… If you move to the tip and still have problems, let me know.

Indeed, it is fixed with the tip.