Browse Source

*** empty log message ***

Jesse Schell 25 years ago
parent
commit
3fa8028d25

+ 2 - 1
direct/src/distributed/ClientDistUpdate.py

@@ -47,7 +47,8 @@ class ClientDistUpdate:
             do.LocalToon_initialized
             do.LocalToon_initialized
         except:
         except:
             func = eval(cdc.name + "." + cdc.name + "." + self.name)
             func = eval(cdc.name + "." + cdc.name + "." + self.name)
-            print("Calling: " + cdc.name + "." + cdc.name + "." + self.name)
+            print("Calling: " + cdc.name + "." + cdc.name + "." + self.name +
+                  " for do " + str(do.getDoId()))
             # Get the arguments into a list
             # Get the arguments into a list
             args = self.extractArgs(di)
             args = self.extractArgs(di)
             # Apply the function to the object with the arguments
             # Apply the function to the object with the arguments

+ 1 - 1
direct/src/distributed/DistributedObject.py

@@ -39,7 +39,7 @@ class DistributedObject(PandaObject):
         self.cr.sendUpdate(self, fieldName, args)
         self.cr.sendUpdate(self, fieldName, args)
 
 
     def taskName(self, taskString):
     def taskName(self, taskString):
-        return (taskString + "-" + str(self.getDoId))
+        return (taskString + "-" + str(self.getDoId()))