Browse Source

*** empty log message ***

David Rose 25 years ago
parent
commit
339036a6b0
1 changed files with 6 additions and 6 deletions
  1. 6 6
      direct/src/distributed/DistributedNode.py

+ 6 - 6
direct/src/distributed/DistributedNode.py

@@ -19,12 +19,6 @@ class DistributedNode(DistributedObject.DistributedObject, NodePath.NodePath):
             self.DeadReckoningFlag = 0
             self.DeadReckoningFlag = 0
         return None
         return None
 
 
-    def generate(self):
-        # Turn on dead reckoning
-        #print ("Turning on dead reckoning!!!")
-        #self.deadReckoningOn()
-        pass
-
     def disable(self):
     def disable(self):
         self.reparentTo(hidden)
         self.reparentTo(hidden)
         DistributedObject.DistributedObject.disable(self)
         DistributedObject.DistributedObject.disable(self)
@@ -33,6 +27,12 @@ class DistributedNode(DistributedObject.DistributedObject, NodePath.NodePath):
         self.reparentTo(hidden)
         self.reparentTo(hidden)
         DistributedObject.DistributedObject.delete(self)
         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):
     def deadReckoningOn(self):
         # Be sure that it isn't already on
         # Be sure that it isn't already on
         self.deadReckoningOff()
         self.deadReckoningOff()