Browse Source

removed excess logging

Zachary Pavlov 18 years ago
parent
commit
9c32b2ec63
1 changed files with 1 additions and 13 deletions
  1. 1 13
      direct/src/distributed/DistributedCartesianGridAI.py

+ 1 - 13
direct/src/distributed/DistributedCartesianGridAI.py

@@ -127,19 +127,7 @@ class DistributedCartesianGridAI(DistributedNodeAI, CartesianGridBase):
 
         if not self.isValidZone(zoneId):
             self.notify.warning(
-                "%s handleAvatarZoneChange %s: not a valid zone (%s) for pos %s" %
-                (self.doId, av.doId, zoneId, pos))
-            try:
-                print "avatar is at %s, %s"%(av.getPos(av.getParentObj()), av.currParentPos)
-                if(hasattr(av,"impulses")):
-                    print "av has %s impulses"%av.impulses
-                for i in av.impulses:
-                    print "impulse: %s"%i
-                    print "target is %s"%av.impulses[i].targetPos()
-                    print "heading is %s"%av.impulses[i].relH
-                     
-            except:
-                print "issue with impulse code, talk to Zac"
+                "%s handleAvatarZoneChange %s: not a valid zone (%s) for pos %s" %(self.doId, av.doId, zoneId, pos))                     
             return
 
         # Set the location on the server.