Skip to content

Refresh view after position or size adjustments to prevent stale clipping - #325

Merged
Altren merged 1 commit into
MyGUI:masterfrom
nox7:fix-clipping-stale-cache
Oct 5, 2026
Merged

Altren merged 1 commit into
MyGUI:masterfrom
nox7:fix-clipping-stale-cache

Conversation

@nox7

@nox7 nox7 commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

I understand 3.5.2 is not out yet, but I am testing latest commits in OpenMW and found that recent commits to cache coordinates have caused stale clipping. See the image and the video below:

mygui-1
2026-10-05.15-35-41.mp4

With the fix from this PR:

mygui-fix-1 mygui-fix-2

Alignment should refresh clipping

Ensure view is updated after potential clipping changes.
@nox7 nox7 changed the title Refresh view after position or size adjustments Refresh view after position or size adjustments to prevent stale clipping Oct 5, 2026
@Altren
Altren merged commit 335f9a3 into MyGUI:master Oct 5, 2026
6 of 12 checks passed
@Altren

Altren commented Oct 5, 2026

Copy link
Copy Markdown
Member

My bad, I got too far with optimizing performance for unchanged geometry and also did not covered that with enough tests. I'll add few tests, that failed without your fix. This will be done outside this PR.
Thank you

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