Search found 8 matches

by royconejo
Mon Jul 25, 2011 14:04
Forum: Modifications / Integrations / Customisations
Topic: Crash when unregistering and reloading imagesets
Replies: 10
Views: 7964

Re: Crash when unregistering and reloading imagesets

Alternatively, If you take a look at the parameters for ImagesetManager::create (and CEGUI::ImagesetManager::createFromImageFile ) you will notice an optional parameter XMLResourceExistsAction action = XREA_RETURN I think that if you pass XREA_REPLACE this may be slightly more efficient. However, t...
by royconejo
Thu Jul 21, 2011 23:49
Forum: Modifications / Integrations / Customisations
Topic: Crash when unregistering and reloading imagesets
Replies: 10
Views: 7964

Re: Crash when unregistering and reloading imagesets

UPDATE I've changed my ugly imageset unload function by CEGUI::ImagesetManager& im = CEGUI::ImagesetManager::getSingleton(); im.destroy (im.get(rp.getResourceName().utf8())); Now I can actually see the image changing. Nevertheless, as stated before, it crashes on the first window->invalidate()....
by royconejo
Thu Jul 21, 2011 22:26
Forum: Modifications / Integrations / Customisations
Topic: Crash when unregistering and reloading imagesets
Replies: 10
Views: 7964

Re: Crash when unregistering and reloading imagesets

No problem, thank you very much for your help :)! I've tried signalRedraw() and friends with no luck... Source code is pretty simple, I'm just using CEGUI::ImagesetManager::getSingleton().create () for loading imagesets, I'm doing a resource search by name whenever I want to free them: CEGUI::Images...
by royconejo
Thu Jul 21, 2011 18:50
Forum: Modifications / Integrations / Customisations
Topic: Crash when unregistering and reloading imagesets
Replies: 10
Views: 7964

Re: Crash when unregistering and reloading imagesets

What you say is interesting, but my problem is simpler than that.. I'm just trying to load an imageset with a given name, then load a window layout that uses it (setProperty("Image", etc)), later, unload that imageset and load another imageset *with the same given name*. The point is whene...
by royconejo
Thu Jul 07, 2011 20:12
Forum: Modifications / Integrations / Customisations
Topic: Crash when unregistering and reloading imagesets
Replies: 10
Views: 7964

Crash when unregistering and reloading imagesets

Hello =) I'm working on a multlanguage application and I need to reload a set of imagesets (all of them with the same imageset name but different .png) whenever the user selects another language. To display this imagesets, in several windows I've set property "ImageNormal", "ImageHove...
by royconejo
Wed Nov 24, 2010 13:16
Forum: Bug Reports, Suggestions, Feature Requests
Topic: OpenGLRenderer Memory Leak - 0.7.5
Replies: 2
Views: 3225

OpenGLRenderer Memory Leak - 0.7.5

Hello =) I've found a "bug" in CEGUIOpenGLRenderer, basically d_rendererID is declared as static and initialized once with this constructor: String OpenGLRenderer::d_rendererID( "CEGUI::OpenGLRenderer - Official OpenGL based 2nd generation renderer module."); and it's ok since It...
by royconejo
Wed Nov 17, 2010 14:24
Forum: Modifications / Integrations / Customisations
Topic: Custom Effects, Geometry Buffers and ZBuffer
Replies: 0
Views: 3579

Custom Effects, Geometry Buffers and ZBuffer

Hello =)! I'm implementing 2 RenderEffects, one that draws a sort of "Fake 3D effect" stacking multiple layers of the same window at different Z's (below and above zero, that is -0.2, -0.5, 0.2, 0.5 etc). The other effect replaces the window geometry altogether with some mesh geometry, usi...

Go to advanced search