Fix misplaced import in main.py
This was causing OpenGL.GL to be loaded too early
This commit is contained in:
parent
c1d6484db4
commit
a4106ad018
@ -11,7 +11,6 @@ from __future__ import absolute_import, division, print_function, unicode_litera
|
||||
import sys
|
||||
|
||||
import OpenGL
|
||||
from mcedit2.dialogs.error_dialog import ErrorDialog, showErrorDialog
|
||||
|
||||
from mcedit2.util import custom_traceback
|
||||
|
||||
@ -196,6 +195,7 @@ def excepthook(exc_type, exc_value, exc_tb):
|
||||
# msg.exec_()
|
||||
# sys.exit(-1)
|
||||
|
||||
from mcedit2.dialogs.error_dialog import showErrorDialog
|
||||
showErrorDialog("Unhandled Exception", (exc_type, exc_value, exc_tb), fatal=True)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user