Cleanup debugging messages continued.
parent
92ecda2887
commit
bcfc40dd33
|
|
@ -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<LLScrollListItem*> 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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue