diff options
| author | Xiaohong Bao <bao@lindenlab.com> | 2011-06-15 16:20:33 -0600 | 
|---|---|---|
| committer | Xiaohong Bao <bao@lindenlab.com> | 2011-06-15 16:20:33 -0600 | 
| commit | 0bb7bcc96cfea7b5d56f083d0afcbc1fce7e9f21 (patch) | |
| tree | 46b49b78517bdf835cc5abf503c2c5c730702ced /indra/newview/llfloatermodelpreview.h | |
| parent | a451c9e83431c7d39ef912680bf9d7411c7a12d2 (diff) | |
fix for SH-1788: Assert in texture load when uploading textured mesh model
and beyond: fixed the thread-safe and highest texture resolution flaws in the mesh texture uploading flow.
Diffstat (limited to 'indra/newview/llfloatermodelpreview.h')
| -rw-r--r-- | indra/newview/llfloatermodelpreview.h | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/indra/newview/llfloatermodelpreview.h b/indra/newview/llfloatermodelpreview.h index a328bfb4dd..dcc2fc8898 100644 --- a/indra/newview/llfloatermodelpreview.h +++ b/indra/newview/llfloatermodelpreview.h @@ -132,6 +132,9 @@ public:  	JointTransformMap& mJointList;	
  	std::deque<std::string>& mJointsFromNode;
 +	S32 mNumOfFetchingTextures ; //updated in the main thread
 +	bool areTexturesReady() { return !mNumOfFetchingTextures; } //called in the main thread.
 +
  private:
  	static std::list<LLModelLoader*> sActiveLoaderList;
  	static bool isAlive(LLModelLoader* loader) ;
 | 
