mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-27 15:25:54 -04:00
showbase: Fix undefined function use in ProfileSession.py
This commit is contained in:
parent
afd3df8ef1
commit
a3f6a62de0
@ -33,7 +33,7 @@ class PercentStats(pstats.Stats):
|
||||
if self.files: print()
|
||||
indent = ' ' * 8
|
||||
for func in self.top_level:
|
||||
print(indent, func_get_function_name(func))
|
||||
print(indent, pstats.func_get_function_name(func))
|
||||
|
||||
print(indent, self.total_calls, "function calls", end=' ')
|
||||
if self.total_calls != self.prim_calls:
|
||||
|
Loading…
x
Reference in New Issue
Block a user