From bf54580d8eaef81fb40e90722b7426adf0b16a6d Mon Sep 17 00:00:00 2001 From: Dave Schuyler Date: Tue, 21 Jun 2005 00:58:33 +0000 Subject: [PATCH] changed notify level to reduce log output --- direct/src/actor/Actor.py | 4 ++-- direct/src/distributed/DistributedObject.py | 2 +- direct/src/distributed/DoCollectionManager.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/direct/src/actor/Actor.py b/direct/src/actor/Actor.py index cf939bfe07..8f91ab2fce 100644 --- a/direct/src/actor/Actor.py +++ b/direct/src/actor/Actor.py @@ -1082,7 +1082,7 @@ class Actor(PandaObject, NodePath): anim = animDict.get(animName) if anim == None: # anim was not present - Actor.notify.warning("couldn't find anim: %s" % (animName)) + Actor.notify.debug("couldn't find anim: %s" % (animName)) else: # bind the animation first if we need to if not isinstance(anim[1], AnimControl): @@ -1149,7 +1149,7 @@ class Actor(PandaObject, NodePath): anim = animDict.get(animName) if anim == None: # anim was not present - Actor.notify.warning("couldn't find anim: %s" % (animName)) + Actor.notify.debug("couldn't find anim: %s" % (animName)) else: # bind the animation first if we need to if not isinstance(anim[1], AnimControl): diff --git a/direct/src/distributed/DistributedObject.py b/direct/src/distributed/DistributedObject.py index 55f8d5fc6e..ecd18cb72f 100644 --- a/direct/src/distributed/DistributedObject.py +++ b/direct/src/distributed/DistributedObject.py @@ -382,7 +382,7 @@ class DistributedObject(PandaObject): return self.__location def handleChildSetLocation(self, childObj, zoneId): - self.notify.info("handleChildSetLocation: %s childId: %s zoneId: %s" % + self.notify.debug("handleChildSetLocation: %s childId: %s zoneId: %s" % (self.doId, childObj.doId, zoneId)) # A new child has just setLocation beneath us. Give us a # chance to run code when a new child sets location to us. For diff --git a/direct/src/distributed/DoCollectionManager.py b/direct/src/distributed/DoCollectionManager.py index e51c13c1f3..b546e0d52e 100755 --- a/direct/src/distributed/DoCollectionManager.py +++ b/direct/src/distributed/DoCollectionManager.py @@ -131,7 +131,7 @@ class DoCollectionManager: zoneId = di.getUint32() obj = self.doId2do.get(doId) if obj is not None: - self.notify.info( + self.notify.debug( "handleObjectLocation: doId: %s parentId: %s zoneId: %s"% (doId, parentId, zoneId)) # Let the object finish the job