CEGUI disables IEventReciever

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
communism
Posts: 8
Joined: Tue Mar 13, 2012 1:59 pm

CEGUI disables IEventReciever

Post by communism »

I have an irrlicht project with an eventreciever...

Code: Select all

 
    MastEventReceiver rcvr;
    IrrlichtDevice *device = createDevice(EDT_OPENGL, dimension2d<u32>(640, 480), 16, false, false, false, &rcvr);
    //...
    CEGUI::IrrlichtRenderer * rend = CEGUI::IrrlichtRenderer::create(*device);
    CEGUI::System::create(rend);
 
When CEGUI::System.create(rend) is run the rcvr becomes inable to listen to events.

Bug?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: CEGUI disables IEventReciever

Post by hybrid »

I guess that CEGUI overwrites your receiver. So it's maybe a missing feature in CEGUI. Proper way would be to call one receiver from the other, and maybe make the order optional. But nothing that we can fix in the engine, that's user code.
Post Reply