-
Notifications
You must be signed in to change notification settings - Fork 23
Fix fields container animate key for Linux #585
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #585 +/- ##
==========================================
+ Coverage 86.99% 87.94% +0.95%
==========================================
Files 68 68
Lines 7566 7582 +16
==========================================
+ Hits 6582 6668 +86
+ Misses 984 914 -70 |
| render_frame(0) | ||
| # If not off_screen, enable the user to choose the camera position | ||
| off_screen = kwargs.pop("off_screen", None) | ||
| if off_screen is None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@PProfizi that means that we set off_screen by defualt. Is that what we want ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@anslpa I do not see how this sets off_screen=True by default. This takes the value in kwargs, if not present then it is set to None, and if None then we do a last check of the pv.OFF_SCREEN variable which might have been set globally to True, for example when running tests or examples in our pipelines.
I tested it and to me it is False by default.
Now one should press "a" to generate the animation, instead of "q", which quit the rendering window to create a new one, which did not work on Linux.