psychopy/psychopy — pull request #218 by lindeloev (2012-10-16 22:08:16+00:00)
Title: Make opacity and contrast work for all stimuli using _BaseVisualClass

These code changes does the following:
- Move setContrast() method to _BaseVisualStim.
- setContrast() method + contrast argument now works for all stimuli using _BaseVisualClass. This includes ShapeStim, DotStim and MovieStim.
- Made opacity work with DotStim.
- Update docs on contrast and opacity.
- Added sanity checks to setContrast and setOpacity.