Browse Source

dont create a new name for Functors to save memory

Joe Shochet 18 years ago
parent
commit
09e7a09fb2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/showbase/PythonUtil.py

+ 1 - 1
direct/src/showbase/PythonUtil.py

@@ -878,7 +878,7 @@ class Functor:
         self._function = function
         self._function = function
         self._args = args
         self._args = args
         self._kargs = kargs
         self._kargs = kargs
-        self.__name__ = 'Functor: %s' % self._function.__name__
+        self.__name__ = self._function.__name__
         self.__doc__ = self._function.__doc__
         self.__doc__ = self._function.__doc__
 
 
     def destroy(self):
     def destroy(self):