commit | 2de9b68fea0be67d731b275b38fa015d95702f69 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Sep 07 15:11:30 1992 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Sep 07 15:11:30 1992 +0000 |
tree | 6e1c5e0ee88791b914c666bc8025d9ef4de35076 | |
parent | 00ffea36155d253ad5ccb26f2d14e1545626a723 [diff] [blame] |
Clear the window when receiving a REDRAW event and not playing
diff --git a/Demo/sgi/video/Vplay.py b/Demo/sgi/video/Vplay.py index facd20f..4fe13c5 100755 --- a/Demo/sgi/video/Vplay.py +++ b/Demo/sgi/video/Vplay.py
@@ -170,6 +170,8 @@ if not looping: while not stop: dev, val = gl.qread() + if dev == REDRAW: + vin.clear() if dev == LEFTMOUSE and val == 1: break # Continue outer loop if dev == ESCKEY and val == 1 or \