mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -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
|
||||
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):
|
||||
self.taskMgr.run()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user