Skip to content

Conversation

@GuillaumeFavelier
Copy link
Contributor

This PR fixes the bug with the dorsal view making the brain disappear (reported in #7153 (comment)).

This patch is strongly inspired by mayavi.

It's an item of #7162

@agramfort
Copy link
Member

works for me on my macine

@codecov
Copy link

codecov bot commented Jan 9, 2020

Codecov Report

Merging #7187 into master will decrease coverage by <.01%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##           master    #7187      +/-   ##
==========================================
- Coverage   89.76%   89.75%   -0.01%     
==========================================
  Files         445      445              
  Lines       79741    79726      -15     
  Branches    12755    12754       -1     
==========================================
- Hits        71579    71562      -17     
- Misses       5369     5370       +1     
- Partials     2793     2794       +1

@GuillaumeFavelier
Copy link
Contributor Author

Thanks for testing. The case where elevation is None was not handled. Let's see how it goes now.

@GuillaumeFavelier GuillaumeFavelier changed the title WIP: Correct camera view_up when necessary MRG: Correct camera view_up when necessary Jan 9, 2020
@GuillaumeFavelier
Copy link
Contributor Author

Does it work now @agramfort ?

@agramfort agramfort merged commit 0527c80 into mne-tools:master Jan 9, 2020
@agramfort
Copy link
Member

thx @GuillaumeFavelier

AdoNunes pushed a commit to AdoNunes/mne-python that referenced this pull request Apr 6, 2020
* Correct camera view_up when necessary

* Handle the case when elevation is None
AdoNunes pushed a commit to AdoNunes/mne-python that referenced this pull request Apr 6, 2020
* Correct camera view_up when necessary

* Handle the case when elevation is None
@GuillaumeFavelier GuillaumeFavelier deleted the fix_brain_dorsal_view branch June 11, 2020 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants