Skip to content

Conversation

@larsoner
Copy link
Contributor

@larsoner larsoner commented Oct 2, 2017

@nfoti can you see if this fixes your problem?

This forces a GUI process loop update when calling _force_render, which is useful e.g. to deal with the toolbar removal at the beginning. @nfoti found that getting the model-view matrix in a script was different before/after allowing the interpreter to idle, which is a sign that the idle-GUI-loop code was doing something to the display, which shouldn't happen if no interaction has taken place and we are properly forcing rendering changes.

Tests pass locally, let's see if the CIs are happy.

@larsoner
Copy link
Contributor Author

larsoner commented Oct 2, 2017

@nfoti
Copy link

nfoti commented Oct 2, 2017

@larsoner This fixed my problem.

Thanks.

@larsoner larsoner changed the title FIX: Always force GUI updates MRG: Always force GUI updates Oct 2, 2017
@larsoner
Copy link
Contributor Author

larsoner commented Oct 2, 2017

Great, ready for review/merge from my end, then

@agramfort agramfort merged commit 1df8c04 into nipy:master Oct 2, 2017
@agramfort
Copy link
Contributor

thx @larsoner

@larsoner larsoner deleted the fix-render branch October 2, 2017 19:56
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.

3 participants