Skip to content
Snippets Groups Projects
Commit 03d22f53 authored by David Parks's avatar David Parks
Browse files

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

parent a1fb8ae0
No related branches found
No related tags found
No related merge requests found
......@@ -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());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment