diff --git a/direct/src/distributed/DistributedNode.py b/direct/src/distributed/DistributedNode.py index a29c3e9c08..5f4c635639 100644 --- a/direct/src/distributed/DistributedNode.py +++ b/direct/src/distributed/DistributedNode.py @@ -19,12 +19,6 @@ class DistributedNode(DistributedObject.DistributedObject, NodePath.NodePath): self.DeadReckoningFlag = 0 return None - def generate(self): - # Turn on dead reckoning - #print ("Turning on dead reckoning!!!") - #self.deadReckoningOn() - pass - def disable(self): self.reparentTo(hidden) DistributedObject.DistributedObject.disable(self) @@ -33,6 +27,12 @@ class DistributedNode(DistributedObject.DistributedObject, NodePath.NodePath): self.reparentTo(hidden) DistributedObject.DistributedObject.delete(self) + def generate(self): + # Turn on dead reckoning + #print ("Turning on dead reckoning!!!") + #self.deadReckoningOn() + DistributedObject.DistributedObject.generate(self) + def deadReckoningOn(self): # Be sure that it isn't already on self.deadReckoningOff()