Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bounding boxes sometimes do not draw properly #5463

Closed
DorpsGek opened this issue Feb 5, 2013 · 3 comments
Closed

Bounding boxes sometimes do not draw properly #5463

DorpsGek opened this issue Feb 5, 2013 · 3 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Feb 5, 2013

LordAro opened the ticket and wrote:

This screenshot was taken while using zBase, but I also experienced it with original-windows, although it seemed harder to reproduce.

Extremely minor bug :)

Attachments

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/5463
@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 6, 2013

frosch wrote:

The commit messages says "This is NOT a bug".
Any suggestions where to document this, so it is not reported again? (I feel like I already closed this once before)
"known_bugs.txt" does not feel correct for a hidden debug feature.

r11174 | rubidium | 2007-09-26 21:27:29 +0200 (Mi, 26 Sep 2007) | 3 lines
-Codechange: add possibility to show the bounding boxes of sprites using CTRL-B so one can get a better understanding of the used bounding boxes to fix the glitches that still exist. Patch by frosch.
Note that this is not completely glitch free, bounding boxes sometimes aren't removed properly. This is due to the fact that the bounding boxes sometimes are larger than the sprite, which causes a smaller part than the bounding box to be redrawn. This is NOT a bug, but a known implementation limit as we do not want to slow down normal games so the debug graphics are always 100% correct.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5463#comment11978

@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 6, 2013

frosch wrote:

Hmm, actually this is not that type of glitch which the commit message refers to...

It might be incorrect rounding due to extra-zoom: See attache diff.

Any way to verify?

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/5463#comment11979

@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 6, 2013

frosch closed the ticket.

Reason for closing: Fixed

in r24975; actually not related to BB, but could happen to anything


This comment was imported from FlySpray: https://bugs.openttd.org/task/5463

@DorpsGek DorpsGek closed this as completed Feb 6, 2013
@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant