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

fix: for issue #1663 (3d visualizer becomes very slow without...) #1866

Merged
merged 2 commits into from
Sep 15, 2024

Conversation

paxcut
Copy link
Contributor

@paxcut paxcut commented Aug 24, 2024

Problem description

The bug described in #1663 was caused by an optimization of the display rendering that uses drawlists to detect changes. The changes in the 3-d visualizer don't contain drawlists when axes are turned off.

Implementation description

The fix is to identify the 3d visualizer among the command lists of the main window and, if found, avoid skipping frames regardless of the result of the comparison of drawlists.

The bug was caused by an optimization of the display rendering that uses drawlists to detect changes. The changes in the 3-d visualizer don't contain drawlists when axes are turned off. The fix is to identify the 3d visualizer among the command lists of the main window and, if found, avoid skipping frames regardless of the result of the comparison of drawlists.
@WerWolv
Copy link
Owner

WerWolv commented Sep 15, 2024

This will be reworked again soonish but for now it's a good think to have fixed. Thank you

@WerWolv WerWolv merged commit e0b4931 into WerWolv:master Sep 15, 2024
18 checks passed
@paxcut paxcut deleted the freezing2dVisualizer branch September 17, 2024 22:39
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