From df862d9a8ae22112923c446097c86f06bc8ff061 Mon Sep 17 00:00:00 2001 From: Joe Shochet Date: Fri, 21 May 2004 13:04:34 +0000 Subject: [PATCH] localToon => localAvatar --- direct/src/distributed/DistributedSmoothNode.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/direct/src/distributed/DistributedSmoothNode.py b/direct/src/distributed/DistributedSmoothNode.py index de3b3b34c5..737f1da80c 100644 --- a/direct/src/distributed/DistributedSmoothNode.py +++ b/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())