mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
Allowed showBase to be created elsewhere
This commit is contained in:
parent
8ca8e8bfc2
commit
905f339346
@ -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 *
|
||||
|
Loading…
x
Reference in New Issue
Block a user