MAINT-8088 - avoid excess object inventory queries when Animation Info display is enabled

meow-7.2.2
Brad Payne (Vir Linden) 2017-12-13 20:22:38 +00:00
parent 49d924ae29
commit 9580e610f6
1 changed files with 4 additions and 1 deletions

View File

@ -3494,7 +3494,10 @@ void LLVOAvatar::updateDebugText()
LLVOVolume *volp = control_av->mRootVolp;
if (volp)
{
volp->requestInventory();
if (volp->getInventorySerial()<=0)
{
volp->requestInventory();
}
LLViewerInventoryItem* item = volp->getInventoryItemByAsset(motionp->getID());
if (item)
{