From a3f6a62de0cac51cb5db30e7cef6ef2dceea91f8 Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 20 Feb 2023 18:04:04 +0100 Subject: [PATCH] showbase: Fix undefined function use in ProfileSession.py --- direct/src/showbase/ProfileSession.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/showbase/ProfileSession.py b/direct/src/showbase/ProfileSession.py index 3470f0dc9e..51cbcd4f2f 100755 --- a/direct/src/showbase/ProfileSession.py +++ b/direct/src/showbase/ProfileSession.py @@ -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: