summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerregion.h
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-04-17 23:00:36 -0600
committerXiaohong Bao <bao@lindenlab.com>2013-04-17 23:00:36 -0600
commit674df12bc9e81b9b4290f74a96116dbbf1e7f77c (patch)
tree90ebca6a5c7f6be4162326cbfa13963af40dd113 /indra/newview/llviewerregion.h
parent4687803c8e5371cab2bdf2636397b9043edf0299 (diff)
for SH-4105: interesting: new viewer does not handle orphaned child prims in ObjectUpdateCompressed messages
Diffstat (limited to 'indra/newview/llviewerregion.h')
-rw-r--r--indra/newview/llviewerregion.h30
1 files changed, 3 insertions, 27 deletions
diff --git a/indra/newview/llviewerregion.h b/indra/newview/llviewerregion.h
index 2248cf5269..410c903f18 100644
--- a/indra/newview/llviewerregion.h
+++ b/indra/newview/llviewerregion.h
@@ -447,21 +447,9 @@ private:
BOOL mCapabilitiesReceived;
BOOL mReleaseNotesRequested;
BOOL mDead; //if true, this region is in the process of deleting.
-
- class OrphanList
- {
- public:
- OrphanList(){}
- OrphanList(U32 child_id){addChild(child_id);}
-
- void addChild(U32 child_id) {mChildList.insert(child_id);}
- std::set<U32>* getChildList() {return &mChildList;}
-
- private:
- std::set<U32> mChildList;
- };
- std::map<U32, OrphanList> mOrphanMap;
+ typedef std::map<U32, std::vector<U32> > orphan_list_t;
+ orphan_list_t mOrphanMap;
class CacheMissItem
{
@@ -471,21 +459,9 @@ private:
U32 mID; //local object id
LLViewerRegion::eCacheMissType mType; //cache miss type
-#if 0
- struct Compare
- {
- bool operator()(const CacheMissItem& lhs, const CacheMissItem& rhs)
- {
- return lhs.mID < rhs.mID; //smaller ID first.
- }
- };
-
- typedef std::set<CacheMissItem, Compare> cache_miss_list_t;
-#else
typedef std::list<CacheMissItem> cache_miss_list_t;
-#endif
};
- CacheMissItem::cache_miss_list_t mCacheMissList;
+ CacheMissItem::cache_miss_list_t mCacheMissList;
caps_received_signal_t mCapabilitiesReceivedSignal;
LLSD mSimulatorFeatures;