From 7b44a8ee8de662355c8f5c8091ab25dccce494e5 Mon Sep 17 00:00:00 2001 From: Dave Parks Date: Wed, 22 Sep 2010 15:58:35 -0500 Subject: 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. --- indra/newview/llfloatermodelpreview.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'indra/newview/llfloatermodelpreview.h') 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 mGroup; - std::map mObject; - std::map > mPatch; + std::map, U32> mGroup; + std::map, U32> mObject; + std::map, std::vector > mPatch; + std::map, F32> mPercentage; - std::map mPercentage; - std::map > > mPhysicsMesh; + std::map, std::vector > > mPhysicsMesh; LLMeshUploadThread::instance_list mUploadData; std::set > mTextureSet; -- cgit v1.2.3