Allowed showBase to be created elsewhere

This commit is contained in:
Gyedo Jeon 2010-04-19 22:37:16 +00:00
parent 8ca8e8bfc2
commit 905f339346

View File

@ -6,6 +6,9 @@ from pandac.PandaModules import *
from direct.showbase.ShowBase import * from direct.showbase.ShowBase import *
from direct.directtools.DirectGlobals import * from direct.directtools.DirectGlobals import *
try:
base
except NameError:
base = ShowBase(False) base = ShowBase(False)
from WxAppShell import * from WxAppShell import *