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,7 +6,10 @@ from pandac.PandaModules import *
from direct.showbase.ShowBase import *
from direct.directtools.DirectGlobals import *
base = ShowBase(False)
try:
base
except NameError:
base = ShowBase(False)
from WxAppShell import *
from ViewPort import *