SH-1913 Fix for PE cost not updating appropriately when editing child prims of a linked set.

meow-7.2.2
Dave Parks 2011-07-01 12:24:52 -05:00
parent a1fb8ae0d0
commit 03d22f5366
1 changed files with 4 additions and 0 deletions

View File

@ -1395,6 +1395,10 @@ void LLViewerObjectList::updateActive(LLViewerObject *objectp)
void LLViewerObjectList::updateObjectCost(LLViewerObject* object)
{
if (!object->isRoot())
{ //always fetch cost for the parent when fetching cost for children
mStaleObjectCost.insert(((LLViewerObject*)object->getParent())->getID());
}
mStaleObjectCost.insert(object->getID());
}