diff options
author | Dave Parks <davep@lindenlab.com> | 2011-07-12 13:22:01 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-07-12 13:22:01 -0500 |
commit | 922bc0aa6ac35175618c54d1e5649678f6b62417 (patch) | |
tree | 7c951d7d80ff2cf38d3b9edeb2e3f097ee1e025b /indra/newview/llfloatermodelpreview.h | |
parent | ec0ee4f7c80bf5d32f50d2788545d629068f1cb1 (diff) |
SH-2053 Don't poke the UI from a background thread -- it tends to get crashy.
Diffstat (limited to 'indra/newview/llfloatermodelpreview.h')
-rw-r--r-- | indra/newview/llfloatermodelpreview.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llfloatermodelpreview.h b/indra/newview/llfloatermodelpreview.h index 29a61d6ed3..3a5f7602fe 100644 --- a/indra/newview/llfloatermodelpreview.h +++ b/indra/newview/llfloatermodelpreview.h @@ -201,7 +201,7 @@ public: /*virtual*/ void setPermissonsErrorStatus(U32 status, const std::string& reason); /*virtual*/ void onModelPhysicsFeeReceived(const LLSD& result, std::string upload_url); - + void handleModelPhysicsFeeReceived(); /*virtual*/ void setModelPhysicsFeeErrorStatus(U32 status, const std::string& reason); /*virtual*/ void onModelUploadSuccess(); @@ -273,6 +273,8 @@ protected: LLToggleableMenu* mViewOptionMenu; LLMutex* mStatusLock; + LLSD mModelPhysicsFee; + private: void onClickCalculateBtn(); void toggleCalculateButton(); |