[fixed]current repo : issues with SDL in some examples

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
kas1e
Posts: 212
Joined: Sun Jan 21, 2018 8:39 am

[fixed]current repo : issues with SDL in some examples

Post by kas1e »

I build today's repo for OpenGL (taking ogles2 branch as base) and SDL1, and find out, that in most of the examples, i can't move a thing with mouse, is stuck in one position and didn't give me ability to move . For example in 02.Quake3Map or 08.specialfx. But for example in 09.meshviewer mouse works fine, so there seems to be some difference between active/nonactive/focus stuff again which happens years ago when we test 1.8.4 builds.
CuteAlien
Admin
Posts: 9646
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: current repo : issues with SDL in some examples

Post by CuteAlien »

OK, can reproduce. Seems the FPS camera is broken with SDL.
Guess it either broke when I did some SDL changes for Amiga or in one of the many rewrites of the FPS camera.
Going to have to debug that. Thanks for reporting.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
CuteAlien
Admin
Posts: 9646
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: current repo : issues with SDL in some examples

Post by CuteAlien »

Seems cursor in SDL works a bit different. But could make it work for this case. Fixed in [r6424] for svn trunk and [r6425] for ogl-es.
Also fixed another bug that release middle/right mouse button was not done correctly in events.
There's more open problems - no support yet for reference rectangle (commit message for 6424 also says relative rectangle, but that works, didn't read my commit message carefully and forgot to delete that part of the message after realising it's reference not relative rectangle *sigh*)
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
kas1e
Posts: 212
Joined: Sun Jan 21, 2018 8:39 am

Re: current repo : issues with SDL in some examples

Post by kas1e »

Yeah, can confirm that issues with mouse gone ! Thanks a lot!
Post Reply