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

Delay refresh until initialized #2272

Merged
merged 1 commit into from
May 20, 2019

Conversation

wavexx
Copy link
Contributor

@wavexx wavexx commented May 18, 2019

on_idle can be called too early on wxGtk3/X11.
Check for m_initialized before refreshing.

Ping @vojtechkral: this avoids calling glOrtho with bogus width/height as mentione here #1963 (comment)

on_idle can be called too early on wxGtk3/X11.
Check for m_initialized before refreshing.
@vojtechkral vojtechkral merged commit 032cf3c into prusa3d:master May 20, 2019
@vojtechkral
Copy link
Contributor

Thanks!

@wavexx wavexx deleted the do_not_refresh_until_initialized branch August 7, 2019 17:33
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.

None yet

2 participants