[visionegg] Enabling and disabling a stimulus (lib3ds in particular)

Hi!

I've just run into a situation where I will have a stimulus that needs to be enabled/disabled on the fly during a presentation. Is there already a way to do this? If not, I propose the following to Lib3DS.py (if this is deemed the correct way to do this)

Line 92, add:
                              'enabled':(True, ve_types.Boolean),

Line 201, add:
       if !enabled:
           return

Of course, this would only apply to Lib3DS stimuli, but I *think* that it would have to be done for each stimulus separately. Hmm. This would also be possible to do using a wrapper class (inherit from Lib3DS, add the parameter, wrap up the call to the parent class).

Is this useful enough to warrant a change back into CVS, or should I just wrap it up on my own?

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

Other related posts: