setGUISheet(NULL), windows still rendered

If you found a bug in our library or on our website, please report it in this section. In this forum you can also make concrete suggestions or feature requests.

Moderators: CEGUI MVP, CEGUI Team

dewyatt
Not too shy to talk
Not too shy to talk
Posts: 28
Joined: Sat Jun 14, 2008 21:26

setGUISheet(NULL), windows still rendered

Postby dewyatt » Sun Sep 07, 2008 19:15

After calling CEGUISystem::setGUISheet(NULL), windows are still rendered.
Usually if I move the mouse, the window will disappear as it should.
I'm using CEGUI 0.6.1 w/OpenGLGUIRenderer (in SFML).

For now, I work around this by doing something like this:

Code: Select all

CEGUISystem->setGUISheet(NULL);
RootWindow->setVisible(false);

But I feel this shouldn't be necessary.

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Postby scriptkid » Mon Sep 08, 2008 08:17

Certain property changes (such as Visibility) trigger a redraw. Other operations (such as setting the guisheet to Null) apparently don't. Maybe this is a special case which should be covered too...

Thanks.
Check out my released snake game using Cegui!

dewyatt
Not too shy to talk
Not too shy to talk
Posts: 28
Joined: Sat Jun 14, 2008 21:26

Postby dewyatt » Mon Sep 08, 2008 13:11

I figured it was some sort of optimization like that.
Thanks for clearing that up. :)


Return to “Bug Reports, Suggestions, Feature Requests”

Who is online

Users browsing this forum: No registered users and 12 guests