Solve Issue 1539: XML Export consistently fails as of latest alpha (build 5824)

This commit is contained in:
Inusaito Sayori
2014-09-11 22:26:45 -04:00
parent 86ff77665c
commit 8dca737dc8
3 changed files with 14 additions and 1 deletions

View File

@@ -1216,6 +1216,17 @@ void LLViewerObjectList::fetchPhysicsFlags()
}
}
bool LLViewerObjectList::gotObjectPhysicsFlags(LLViewerObject* objectp)
{
// This will insert objectp in mStalePhysicsFlags if needed:
objectp->getPhysicsShapeType();
// Data has been retrieved if the object is not in either of the
// two lists:
const LLUUID& id = objectp->getID();
return mPendingPhysicsFlags.count(id) == 0 &&
mStalePhysicsFlags.count(id) == 0;
}
void LLViewerObjectList::clearDebugText()
{
for (vobj_list_t::iterator iter = mObjects.begin(); iter != mObjects.end(); ++iter)