[visionegg] Re: falling out of a go() loop which is set to run_forever so that a second go() loop can be allowed to run

You need to set go_duration again after you've set it to 0:

button_down.set_presentation_instance(p)
p.go()
p.parameters.go_duration = ('forever',)

(Your error resulted from going down a code path I had never tested, but it's fixed now-- Now you'll get a zero duration go loop with no error.)

Cheers!
Andrew

Mark Tovey wrote:
The basic question is: do I need to reset or delete something if I want do
do:


button_down.set_presentation_instance(p)
p.go()

a second time?

====================================== The Vision Egg mailing list Archives: http://www.freelists.org/archives/visionegg Website: http://www.visionegg.org/mailinglist.html

Other related posts: