Pārlūkot izejas kodu

localToon => localAvatar

Joe Shochet 21 gadi atpakaļ
vecāks
revīzija
df862d9a8a
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3 3
      direct/src/distributed/DistributedSmoothNode.py

+ 3 - 3
direct/src/distributed/DistributedSmoothNode.py

@@ -46,7 +46,7 @@ def activateSmoothing(smoothing, prediction):
     current position, by extrapolating from old position reports.
 
     This assumes you have a client repository that knows its
-    localToonDoId -- stored in self.cr.localToonDoId
+    localAvatarDoId -- stored in self.cr.localAvatarDoId
     """
 
     if smoothing and EnableSmoothing:
@@ -278,7 +278,7 @@ class DistributedSmoothNode(DistributedNode.DistributedNode,
                 self.notify.info("Suggesting resync for %s, with discrepency %s; local time is %s and server time is %s." % (
                     self.doId, howFarFuture - chug,
                     realTime, serverTime))
-                self.d_suggestResync(self.cr.localToonDoId, timestamp,
+                self.d_suggestResync(self.cr.localAvatarDoId, timestamp,
                                      timestampB, serverTime,
                                      globalClockDelta.getUncertainty())
         
@@ -346,7 +346,7 @@ class DistributedSmoothNode(DistributedNode.DistributedNode,
                 serverTime = realTime - globalClockDelta.getDelta()
                 self.notify.info("Returning resync for %s; local time is %s and server time is %s." % (
                     self.doId, realTime, serverTime))
-                other.d_returnResync(self.cr.localToonDoId, timestampB,
+                other.d_returnResync(self.cr.localAvatarDoId, timestampB,
                                      serverTime,
                                      globalClockDelta.getUncertainty())