MAINT-8088 - avoid excess object inventory queries when Animation Info display is enabled
parent
49d924ae29
commit
9580e610f6
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue