Skip to content

Commit 50334df

Browse files
ToddTodd
authored andcommitted
BF: Movie stim was unecessarily converting opacity to a float, causing error when opacity was None
1 parent 2a5c02e commit 50334df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

psychopy/visual/movie3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def __init__(self, win,
119119
self.flipHoriz = flipHoriz
120120
self.pos = numpy.asarray(pos, float)
121121
self.depth = depth
122-
self.opacity = float(opacity)
122+
self.opacity = opacity
123123
self.interpolate = interpolate
124124
self.noAudio = noAudio
125125
self._audioStream = None

0 commit comments

Comments
 (0)