Browse Source

changed task name

Dave Schuyler 22 years ago
parent
commit
41268cd9a8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      direct/src/showbase/PhysicsWalker.py

+ 2 - 2
direct/src/showbase/PhysicsWalker.py

@@ -701,7 +701,7 @@ class PhysicsWalker(DirectObject.DirectObject):
             self.accept("control-f3", self.spawnTest) #*#
             self.accept("control-f3", self.spawnTest) #*#
             self.accept("f3", self.reset) # for debugging only.
             self.accept("f3", self.reset) # for debugging only.
 
 
-        taskName = "AvatarControls%s"%(id(self),)
+        taskName = "AvatarControls-%s"%(id(self),)
         # remove any old
         # remove any old
         taskMgr.remove(taskName)
         taskMgr.remove(taskName)
         # spawn the new task
         # spawn the new task
@@ -714,7 +714,7 @@ class PhysicsWalker(DirectObject.DirectObject):
         Ignore the arrow keys, etc.
         Ignore the arrow keys, etc.
         """
         """
         assert(self.debugPrint("disableAvatarControls()"))
         assert(self.debugPrint("disableAvatarControls()"))
-        taskName = "AvatarControls%s"%(id(self),)
+        taskName = "AvatarControls-%s"%(id(self),)
         taskMgr.remove(taskName)
         taskMgr.remove(taskName)
 
 
         taskName = "AvatarControlsIndicator%s"%(id(self),)
         taskName = "AvatarControlsIndicator%s"%(id(self),)