diff options
author | Ben Reynwar <ben@reynwar.net> | 2012-06-25 08:09:05 -0700 |
---|---|---|
committer | Ben Reynwar <ben@reynwar.net> | 2012-06-25 08:09:05 -0700 |
commit | 1f57cf3fee8ded4d58e77bef8ffd8d8ce4aca53c (patch) | |
tree | 795a34e4599a88a80040d27dcb2b342e4c705bea /gr-wxgui/src/python/plotter/plotter_base.py | |
parent | fd3abfe06ef4f574122d2d2a08b716db8c2b776d (diff) | |
parent | 881010202a5054c430d8e5a6f72c206c1cc350ae (diff) |
Merge branch 'next' of http://gnuradio.org/git/gnuradio into next
Diffstat (limited to 'gr-wxgui/src/python/plotter/plotter_base.py')
-rw-r--r-- | gr-wxgui/src/python/plotter/plotter_base.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gr-wxgui/src/python/plotter/plotter_base.py b/gr-wxgui/src/python/plotter/plotter_base.py index 5af5803392..2fdd0f20ab 100644 --- a/gr-wxgui/src/python/plotter/plotter_base.py +++ b/gr-wxgui/src/python/plotter/plotter_base.py @@ -189,7 +189,10 @@ class plotter_base(wx.glcanvas.GLCanvas, common.mutex): if self.use_persistence: if self.clear_accum: #GL.glClear(GL.GL_ACCUM_BUFFER_BIT) - GL.glAccum(GL.GL_LOAD, 1.0) + try: + GL.glAccum(GL.GL_LOAD, 1.0) + except: + pass self.clear_accum=False GL.glAccum(GL.GL_MULT, 1.0-self.persist_alpha) |