mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-06 03:44:00 -04:00
removed excess logging
This commit is contained in:
parent
b706a17f25
commit
9c32b2ec63
@ -127,19 +127,7 @@ class DistributedCartesianGridAI(DistributedNodeAI, CartesianGridBase):
|
|||||||
|
|
||||||
if not self.isValidZone(zoneId):
|
if not self.isValidZone(zoneId):
|
||||||
self.notify.warning(
|
self.notify.warning(
|
||||||
"%s handleAvatarZoneChange %s: not a valid zone (%s) for pos %s" %
|
"%s handleAvatarZoneChange %s: not a valid zone (%s) for pos %s" %(self.doId, av.doId, zoneId, pos))
|
||||||
(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"
|
|
||||||
return
|
return
|
||||||
|
|
||||||
# Set the location on the server.
|
# Set the location on the server.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user