summaryrefslogtreecommitdiff
path: root/indra/newview/llmeshrepository.h
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2010-12-22 10:55:48 -0700
committerXiaohong Bao <bao@lindenlab.com>2010-12-22 10:55:48 -0700
commit8ba0baa63109d5e45c1f3cfd75c7d230ff99031f (patch)
treeb5945f63f0173b17e428d2d726d13653d9157ac7 /indra/newview/llmeshrepository.h
parent8bca21e23b1ad857cb707af986c33523c6ea7724 (diff)
fix for SH-648: Crash on exit in LLViewerFetchedTexture (ref count error)
Diffstat (limited to 'indra/newview/llmeshrepository.h')
-rw-r--r--indra/newview/llmeshrepository.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llmeshrepository.h b/indra/newview/llmeshrepository.h
index 8687ac750b..0926a94ec2 100644
--- a/indra/newview/llmeshrepository.h
+++ b/indra/newview/llmeshrepository.h
@@ -65,7 +65,7 @@ public:
class LLTextureUploadData
{
public:
- LLPointer<LLViewerFetchedTexture> mTexture;
+ LLViewerFetchedTexture* mTexture;
LLUUID mUUID;
std::string mRSVP;
std::string mLabel;
@@ -399,7 +399,7 @@ public:
std::queue<LLTextureUploadData> mTextureQ;
std::queue<LLTextureUploadData> mConfirmedTextureQ;
- std::map<LLPointer<LLViewerFetchedTexture>, LLTextureUploadData> mTextureMap;
+ std::map<LLViewerFetchedTexture*, LLTextureUploadData> mTextureMap;
LLMeshUploadThread(instance_list& data, LLVector3& scale, bool upload_textures,
bool upload_skin, bool upload_joints);
@@ -442,6 +442,7 @@ public:
void init();
void shutdown();
+ S32 update() ;
//mesh management functions
S32 loadMesh(LLVOVolume* volume, const LLVolumeParams& mesh_params, S32 detail = 0);
@@ -505,6 +506,7 @@ public:
LLMeshRepoThread* mThread;
std::vector<LLMeshUploadThread*> mUploads;
+ std::vector<LLMeshUploadThread*> mUploadWaitList;
LLPhysicsDecomp* mDecompThread;