mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
groundwork for FrameProfiler
This commit is contained in:
parent
3e62e60195
commit
fa00e63e1a
@ -2275,10 +2275,6 @@ class ShowBase(DirectObject.DirectObject):
|
|||||||
# Set fWantTk to 0 to avoid starting Tk with this call
|
# Set fWantTk to 0 to avoid starting Tk with this call
|
||||||
self.startDirect(fWantDirect = fDirect, fWantTk = fTk, fWantWx = fWx)
|
self.startDirect(fWantDirect = fDirect, fWantTk = fTk, fWantWx = fWx)
|
||||||
|
|
||||||
def profileFrames(self, num=1):
|
|
||||||
# profile the next 'num' frames and log the results
|
|
||||||
self.taskMgr.profileFrames(num)
|
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
self.taskMgr.run()
|
self.taskMgr.run()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user