diff --git a/direct/src/distributed/DistributedSmoothNode.py b/direct/src/distributed/DistributedSmoothNode.py index d60262f77c..e85a03ae81 100644 --- a/direct/src/distributed/DistributedSmoothNode.py +++ b/direct/src/distributed/DistributedSmoothNode.py @@ -312,10 +312,6 @@ class DistributedSmoothNode(DistributedNode.DistributedNode, self.forceToTruePosition() self.sendCurrentPosition() - def sendCurrentPosition(self): - self.cnode.initialize(self, self.dclass, self.doId) - self.cnode.sendEverything() - ### Monitor clock sync ### def d_suggestResync(self, avId, timestampA, timestampB, diff --git a/direct/src/distributed/DistributedSmoothNodeBase.py b/direct/src/distributed/DistributedSmoothNodeBase.py index f0f07103bc..459818859e 100755 --- a/direct/src/distributed/DistributedSmoothNodeBase.py +++ b/direct/src/distributed/DistributedSmoothNodeBase.py @@ -84,3 +84,7 @@ class DistributedSmoothNodeBase: taskName = self.taskName("sendPosHpr") task.delayTime = self.__broadcastPeriod return Task.again + + def sendCurrentPosition(self): + self.cnode.initialize(self, self.dclass, self.doId) + self.cnode.sendEverything()