Skip to content

Revert #2936, #3123, #3168, #3172, #3181, #3209, #3232#3305

Merged
AaronVanGeffen merged 1 commit intoOpenLoco:masterfrom
ZehMatt:revert-bugs
Oct 9, 2025
Merged

Revert #2936, #3123, #3168, #3172, #3181, #3209, #3232#3305
AaronVanGeffen merged 1 commit intoOpenLoco:masterfrom
ZehMatt:revert-bugs

Conversation

@ZehMatt
Copy link
Copy Markdown
Contributor

@ZehMatt ZehMatt commented Oct 6, 2025

I currently don't know why its crashing in certain situations and why there are still artifacts when the newspaper is open, so until then lets revert all the changes that cause this behavior, its unfortunate but better to have this not crash and glitch, apologies.

@AaronVanGeffen
Copy link
Copy Markdown
Member

While it's definitely an annoying bug, it seems a bit excessive to me to revert all of this work.

I'll try to pitch in with the debugging. Bisecting should help narrow down the issue, right?

@ZehMatt
Copy link
Copy Markdown
Contributor Author

ZehMatt commented Oct 6, 2025

While it's definitely an annoying bug, it seems a bit excessive to me to revert all of this work.

I'll try to pitch in with the debugging. Bisecting should help narrow down the issue, right?

The issue is the render target being relative while viewports store absolute coordinates, there is no middle ground for this, well I tried and it doesn't work.

Copy link
Copy Markdown
Member

@AaronVanGeffen AaronVanGeffen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Messed around with a map for a fair bit, and tested various news items. None triggered a crash.

It sucks to have to revert a bunch of your work, though. Hopefully, we can reintroduce it in the near future.

@ZehMatt
Copy link
Copy Markdown
Contributor Author

ZehMatt commented Oct 9, 2025

It sucks to have to revert a bunch of your work, though. Hopefully, we can reintroduce it in the near future.

It is what it is, I will look into doing this right in the future, I also don't like all this nested rendering logic, first UI then Viewport then more UI, this is just chaos.

LeeSpork added a commit to LeeSpork/OpenLoco that referenced this pull request Oct 19, 2025
AaronVanGeffen pushed a commit that referenced this pull request Oct 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants