SH-1913 Fix for PE cost not updating appropriately when editing child prims of a linked set.
parent
a1fb8ae0d0
commit
03d22f5366
|
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue