Skip to content

Assigning visible=false affects the wrong object #5

Description

@ShadSterling

In the following code, a.visible = False affects 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions