button->setVisible(false) not working

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
CuteAlien
Admin
Posts: 9716
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

wheatas wrote: now I tried to do
environment->drawAll();
after the new selection of visible buttons...
That's ok.

Try to do a debug output on _each_ setVisible which you do. Check if they are really called when you expect it.
wheatas
Posts: 25
Joined: Fri Sep 15, 2006 8:21 am

Post by wheatas »

Hello...

sorry for bothering you so long...
I now found it was my fault ...
its not exactly like I override the visibility but I do not initialise the condtion for shouldbeVisible...

thanks for all! :D
Post Reply