Browse Source

use SerialNumGen

Darren Ranalli 19 years ago
parent
commit
5f925acab5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/showbase/TaskThreaded.py

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

@@ -7,7 +7,7 @@ class TaskThreaded:
     up the processing over multiple frames """
     notify = directNotify.newCategory("TaskThreaded")
 
-    _Serial = SerialNum()
+    _Serial = SerialNumGen()
     
     def __init__(self, name, threaded=True, timeslice=None, callback=None):
         # timeslice is how long this thread should take every frame.