From bcfc40dd33da0aa45abbe4d828bfd957821893f7 Mon Sep 17 00:00:00 2001 From: ZiRee Date: Thu, 21 Apr 2011 00:15:46 +0200 Subject: [PATCH] Cleanup debugging messages continued. --- indra/newview/ao.cpp | 5 ++--- indra/newview/aoset.cpp | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/indra/newview/ao.cpp b/indra/newview/ao.cpp index 92e64e0924..86fafc8dcd 100644 --- a/indra/newview/ao.cpp +++ b/indra/newview/ao.cpp @@ -213,7 +213,7 @@ void FloaterAO::onSelectSet() void FloaterAO::onClickActivate() { - llwarns << "Set activated: " << mSetSelector->getSelectedItemLabel() << llendl; + lldebugs << "Set activated: " << mSetSelector->getSelectedItemLabel() << llendl; AOEngine::instance().selectSet(mSelectedSet); } @@ -371,7 +371,7 @@ void FloaterAO::onCheckDisableStands() void FloaterAO::onChangeAnimationSelection() { std::vector list=mAnimationList->getAllSelected(); - llwarns << "Selection count: " << list.size() << llendl; + lldebugs << "Selection count: " << list.size() << llendl; BOOL resortEnable=FALSE; BOOL trashEnable=FALSE; @@ -490,7 +490,6 @@ BOOL FloaterAO::handleDragAndDrop(S32 x,S32 y,MASK mask,BOOL drop,EDragAndDropTy *accept=ACCEPT_YES_SINGLE; if(item && drop) { - llwarns << item->getUUID() << llendl; if(AOEngine::instance().importNotecard(item)) { enableSetControls(FALSE); diff --git a/indra/newview/aoset.cpp b/indra/newview/aoset.cpp index e8900f766e..25f23c1d37 100644 --- a/indra/newview/aoset.cpp +++ b/indra/newview/aoset.cpp @@ -38,7 +38,7 @@ AOSet::AOSet(const LLUUID inventoryID) mDirty(FALSE), mCurrentMotion(LLUUID()) { - llwarns << "Creating new AO set: " << this << llendl; + lldebugs << "Creating new AO set: " << this << llendl; // keep number and order in sync with the enum in the declaration const std::string stateNames[AOSTATES_MAX]= @@ -114,7 +114,7 @@ AOSet::AOSet(const LLUUID inventoryID) AOSet::~AOSet() { - llwarns << "Set deleted: " << this << llendl; + lldebugs << "Set deleted: " << this << llendl; } AOSet::AOState* AOSet::getState(S32 eName) @@ -156,14 +156,14 @@ LLUUID AOSet::getAnimationForState(AOState* state) if(state->mRandom) { state->mCurrentAnimation=ll_frand()*numOfAnimations; - llwarns << "randomly chosen " << state->mCurrentAnimation << " of " << numOfAnimations << llendl; + lldebugs << "randomly chosen " << state->mCurrentAnimation << " of " << numOfAnimations << llendl; } else { state->mCurrentAnimation++; if(state->mCurrentAnimation>=state->mAnimations.size()) state->mCurrentAnimation=0; - llwarns << "cycle " << state->mCurrentAnimation << " of " << numOfAnimations << llendl; + lldebugs << "cycle " << state->mCurrentAnimation << " of " << numOfAnimations << llendl; } return state->mAnimations[state->mCurrentAnimation].mAssetUUID; }