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

merge

parents 021ce5cc 03d22f53
Branches
Tags
No related merge requests found
...@@ -1395,6 +1395,10 @@ void LLViewerObjectList::updateActive(LLViewerObject *objectp) ...@@ -1395,6 +1395,10 @@ void LLViewerObjectList::updateActive(LLViewerObject *objectp)
void LLViewerObjectList::updateObjectCost(LLViewerObject* object) 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()); mStaleObjectCost.insert(object->getID());
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment