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

Solve transparency bug in linux #185

Merged
merged 1 commit into from
Jan 20, 2022
Merged

Solve transparency bug in linux #185

merged 1 commit into from
Jan 20, 2022

Conversation

RobertoDF
Copy link
Contributor

@RobertoDF RobertoDF commented Jan 3, 2022

Hi Federico,
I had a problem with the gui on linux that I thought depended on Pyqt5 being installed via conda, you can see the bug down here. All the meshes with an alpha different than 1 disappear. It turns out it is a vtk problem and the solution here solves the problem.

Adding these two lines doesn't seem to change anything on my mac, didn't test it on windows though.
(the two lines has to be placed before the import of QVTKRenderWindowInteractor)

from vtk.qt.QVTKRenderWindowInteractor import QVTKRenderWindowInteractor

Screen.Recording.2022-01-03.at.19.10.16.mov

@FedeClaudi
Copy link
Collaborator

Hey, thanks for letting me know. I'm confused, does the change in the PR fix the bug?

@RobertoDF
Copy link
Contributor Author

Yes, those two lines solve the problem on Ubuntu 20.04.

@FedeClaudi
Copy link
Collaborator

I see, nice!

Thanks for all the help improving the GUI functionality in brainrender, really appreciate it.
Are you on twitter? I'd like to give you a shoutout when we announce the next release.

@RobertoDF
Copy link
Contributor Author

Thanks! @RobertoDeF_

@FedeClaudi FedeClaudi merged commit 52ae2ee into brainglobe:master Jan 20, 2022
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