Merge with git@github.com:zothar/mcedit.git 'master'

This commit is contained in:
David Sowder 2012-03-21 17:41:57 -05:00
commit 343a9e4c70

View File

@ -453,7 +453,7 @@ class CameraViewport(GLViewport):
GL.glReadBuffer(GL.GL_BACK)
else:
GL.glReadBuffer(GL.GL_FRONT)
except Exception, e:
except Exception:
logging.exception('Exception during glReadBuffer')
ws = self.get_root().size
if center:
@ -3675,7 +3675,7 @@ class EditorToolbar(GLOrtho):
), dtype="f4"))
GL.glDrawArrays(GL.GL_QUADS, 0, 4)
except Exception, e:
except Exception:
logging.exception('Error while drawing toolbar.')
GL.glDisableClientState(GL.GL_TEXTURE_COORD_ARRAY)