mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
added JobManager
This commit is contained in:
parent
8a8b59d484
commit
89b2d71e56
@ -16,6 +16,7 @@ from direct.directnotify.DirectNotifyGlobal import *
|
|||||||
from MessengerGlobal import *
|
from MessengerGlobal import *
|
||||||
from BulletinBoardGlobal import *
|
from BulletinBoardGlobal import *
|
||||||
from direct.task.TaskManagerGlobal import *
|
from direct.task.TaskManagerGlobal import *
|
||||||
|
from JobManagerGlobal import *
|
||||||
from EventManagerGlobal import *
|
from EventManagerGlobal import *
|
||||||
from PythonUtil import *
|
from PythonUtil import *
|
||||||
from direct.particles.ParticleManagerGlobal import *
|
from direct.particles.ParticleManagerGlobal import *
|
||||||
@ -205,6 +206,7 @@ class ShowBase(DirectObject.DirectObject):
|
|||||||
self.messenger = messenger
|
self.messenger = messenger
|
||||||
self.bboard = bulletinBoard
|
self.bboard = bulletinBoard
|
||||||
self.taskMgr = taskMgr
|
self.taskMgr = taskMgr
|
||||||
|
self.jobMgr = jobMgr
|
||||||
|
|
||||||
# Particle manager
|
# Particle manager
|
||||||
self.particleMgr = particleMgr
|
self.particleMgr = particleMgr
|
||||||
@ -247,6 +249,7 @@ class ShowBase(DirectObject.DirectObject):
|
|||||||
__builtins__["camera"] = self.camera
|
__builtins__["camera"] = self.camera
|
||||||
__builtins__["loader"] = self.loader
|
__builtins__["loader"] = self.loader
|
||||||
__builtins__["taskMgr"] = self.taskMgr
|
__builtins__["taskMgr"] = self.taskMgr
|
||||||
|
__builtins__["jobMgr"] = self.jobMgr
|
||||||
__builtins__["eventMgr"] = self.eventMgr
|
__builtins__["eventMgr"] = self.eventMgr
|
||||||
__builtins__["messenger"] = self.messenger
|
__builtins__["messenger"] = self.messenger
|
||||||
__builtins__["bboard"] = self.bboard
|
__builtins__["bboard"] = self.bboard
|
||||||
|
Loading…
x
Reference in New Issue
Block a user