|
|
@@ -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()
|