From 09e7a09fb21d947b85bfe7d92e94184115b45a2d Mon Sep 17 00:00:00 2001 From: Joe Shochet Date: Sun, 13 May 2007 17:42:40 +0000 Subject: [PATCH] dont create a new name for Functors to save memory --- direct/src/showbase/PythonUtil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/showbase/PythonUtil.py b/direct/src/showbase/PythonUtil.py index 384b1e9d6e..2c64a7d00d 100644 --- a/direct/src/showbase/PythonUtil.py +++ b/direct/src/showbase/PythonUtil.py @@ -878,7 +878,7 @@ class Functor: self._function = function self._args = args self._kargs = kargs - self.__name__ = 'Functor: %s' % self._function.__name__ + self.__name__ = self._function.__name__ self.__doc__ = self._function.__doc__ def destroy(self):