[fixed in 1.8.1]List box clipping bug

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
Mloren
Posts: 114
Joined: Mon Aug 07, 2006 2:30 am
Location: Australia
Contact:

[fixed in 1.8.1]List box clipping bug

Post by Mloren »

I just noticed a bug with IGUIListBox.

When they call draw3DSunkenPane() to draw their main box, the clip rect they pass through is wrong, it differs to the actual draw rect which means it's clipped of by a pixel on three of the sides.

I'm guessing this isn't normally noticeable but when you have a skin that puts a thin 1 pixel border around the box, its obvious :p

I've fixed it in my skin by just using the draw rect as the clip rect but this should probably be fixed in the engine.
CuteAlien
Admin
Posts: 9809
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

Thanks - and sorry for not getting to fix stuff fast currently - I'm working on getting my time back.
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
Mloren
Posts: 114
Joined: Mon Aug 07, 2006 2:30 am
Location: Australia
Contact:

Post by Mloren »

No problem. :)
CuteAlien
Admin
Posts: 9809
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: List box clipping bug

Post by CuteAlien »

Ow man, I forgot about that one :-(
Will finally be fixed in Irrlicht 1.8.1
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
Post Reply