Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Assigning visible=false affects the wrong object #5
In the following code,
#!/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
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
This is quite amazing, and not a previously known bug. Here's an even simpler scheme:
a = sphere( pos=(-1,0,0) )
a.opacity = 0.5
Thanks for the report.