diff options
author | Seth ProductEngine <slitovchuk@productengine.com> | 2011-06-29 22:03:29 +0300 |
---|---|---|
committer | Seth ProductEngine <slitovchuk@productengine.com> | 2011-06-29 22:03:29 +0300 |
commit | e4b12b83e8721e0856af0305f6cee46cd6092024 (patch) | |
tree | 8d63de0e773cb523fc613b74dbd70a78bc9f2cf8 /indra/newview/llfloatermodelpreview.cpp | |
parent | 0c05ea2740b63c824fba2bab37f67ca2188f0d07 (diff) |
SH-1725 WIP Added upload permissions and fee requests to Upload Model Wizard.
- Enabled warning for users without upload permissions.
- Enabled "Calculate weights & fee" button.
- Temporarily enabled to upload meshes if upload permission capability request has failed.
Diffstat (limited to 'indra/newview/llfloatermodelpreview.cpp')
-rwxr-xr-x | indra/newview/llfloatermodelpreview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp index 00cc81c5d6..9b61124208 100755 --- a/indra/newview/llfloatermodelpreview.cpp +++ b/indra/newview/llfloatermodelpreview.cpp @@ -5491,7 +5491,7 @@ void LLFloaterModelPreview::DecompRequest::completed() void dump_llsd_to_file(const LLSD& content, std::string filename); -void LLFloaterModelPreview::onPermReceived(const LLSD& result) +void LLFloaterModelPreview::onPermissionsReceived(const LLSD& result) { dump_llsd_to_file(result,"perm_received.xml"); std::string upload_status = result["mesh_upload_status"].asString(); @@ -5503,9 +5503,9 @@ void LLFloaterModelPreview::onPermReceived(const LLSD& result) getChild<LLTextBox>("warning_message")->setVisible(!mHasUploadPerm); } -void LLFloaterModelPreview::setPermErrorStatus(U32 status, const std::string& reason) +void LLFloaterModelPreview::setPermissonsErrorStatus(U32 status, const std::string& reason) { - llwarns << "LLFloaterModelPreview::setPermErrors(" << status << " : " << reason << ")" << llendl; + llwarns << "LLFloaterModelPreview::setPermissonsErrorStatus(" << status << " : " << reason << ")" << llendl; LLNotificationsUtil::add("MeshUploadPermError"); } |