diff options
author | Dave Parks <davep@lindenlab.com> | 2010-09-22 15:58:35 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-09-22 15:58:35 -0500 |
commit | 7b44a8ee8de662355c8f5c8091ab25dccce494e5 (patch) | |
tree | 5bb10c9ee83c556f82950c9060471ab68d838d2f /indra/newview/llfloatermodelpreview.h | |
parent | cf09d6c58a741263cddcf338c2f79836873475b1 (diff) |
SH-110 Fix for viewer crash when checking HULL in decomposition window... converted various maps to use smart pointers for keys instead of naked pointers, properly clear maps on various operations.
Diffstat (limited to 'indra/newview/llfloatermodelpreview.h')
-rwxr-xr-x | indra/newview/llfloatermodelpreview.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/llfloatermodelpreview.h b/indra/newview/llfloatermodelpreview.h index 148687aecd..d8f06295ac 100755 --- a/indra/newview/llfloatermodelpreview.h +++ b/indra/newview/llfloatermodelpreview.h @@ -168,12 +168,12 @@ class LLModelPreview : public LLViewerDynamicTexture, public LLMutex LLModelLoader::model_list mModel[LLModel::NUM_LODS]; LLModelLoader::model_list mBaseModel; - std::map<LLModel*, U32> mGroup; - std::map<LLModel*, U32> mObject; - std::map<LLModel*, std::vector<U32> > mPatch; + std::map<LLPointer<LLModel>, U32> mGroup; + std::map<LLPointer<LLModel>, U32> mObject; + std::map<LLPointer<LLModel>, std::vector<U32> > mPatch; + std::map<LLPointer<LLModel>, F32> mPercentage; - std::map<LLModel*, F32> mPercentage; - std::map<LLModel*, std::vector<LLPointer<LLVertexBuffer> > > mPhysicsMesh; + std::map<LLPointer<LLModel>, std::vector<LLPointer<LLVertexBuffer> > > mPhysicsMesh; LLMeshUploadThread::instance_list mUploadData; std::set<LLPointer<LLViewerFetchedTexture> > mTextureSet; |