Browse Source

added empty-node debugging

Darren Ranalli 21 years ago
parent
commit
c83adf5b41
1 changed files with 1 additions and 0 deletions
  1. 1 0
      direct/src/distributed/DistributedSmoothNodeBase.py

+ 1 - 0
direct/src/distributed/DistributedSmoothNodeBase.py

@@ -200,6 +200,7 @@ class DistributedSmoothNodeBase:
 
     def d_broadcastPosHpr_XYH(self):
         # send out the minimal bits to describe our new position
+        assert not self.isEmpty(), 'DistributedSmoothNode %s has been removed from graph?' % self.doId
         xyz = self.getPos()
         h   = self.getH()