We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the following code, a.visible = False affects b:
a.visible = False
b
#!/usr/bin/python from __future__ import print_function, division from visual import * import time a = sphere( pos=(-1,0,0) ) b = sphere( pos=(1,0,0) ) time.sleep( 1 ) a.opacity = .75 time.sleep( 1 ) a.opacity = 1 time.sleep( 1 ) a.visible = False time.sleep( 1 ) a.color = color.red
The text was updated successfully, but these errors were encountered:
This is quite amazing, and not a previously known bug. Here's an even simpler scheme:
a = sphere( pos=(-1,0,0) ) b = sphere( pos=(1,0,0) )
a.opacity = 0.5 scene.mouse.getclick() a.opacity = 1 # if this is less than 1, no bug (it is object a that becomes invisible) a.visible = False
Thanks for the report.
Sorry, something went wrong.
No branches or pull requests
In the following code,
a.visible = False
affectsb
:The text was updated successfully, but these errors were encountered: