summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaestro Linden <maestro@lindenlab.com>2013-03-27 17:50:26 +0000
committerMaestro Linden <maestro@lindenlab.com>2013-03-27 17:50:26 +0000
commita4510f5b1ce72a639889431d6f86e10b6fff96ad (patch)
tree5780923f973e5d00bc66d042ddda568fa10ba1cb
parentb9db8d48139c1eb901c1c8b16e822d780f10e0cc (diff)
NORSPEC-56 Added some extra details to debug logs for RenderMaterials cap access. Reviewed by Graham.
-rw-r--r--indra/newview/llmaterialmgr.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llmaterialmgr.cpp b/indra/newview/llmaterialmgr.cpp
index ffd7f1f1af..25e92e27d9 100644
--- a/indra/newview/llmaterialmgr.cpp
+++ b/indra/newview/llmaterialmgr.cpp
@@ -554,7 +554,8 @@ void LLMaterialMgr::processGetQueue()
postData[MATERIALS_CAP_ZIP_FIELD] = materialBinary;
LLHTTPClient::ResponderPtr materialsResponder = new LLMaterialsResponder("POST", capURL, boost::bind(&LLMaterialMgr::onGetResponse, this, _1, _2, region_id));
- LL_DEBUGS("Materials") << "POSTing to region '" << regionp->getName() << "' at '"<< capURL << "'\ndata: " << ll_pretty_print_sd(materialsData) << LL_ENDL;
+ LL_DEBUGS("Materials") << "POSTing to region '" << regionp->getName() << "' at '"<< capURL << " for " << materialSize << " materials."
+ << "'\ndata: " << ll_pretty_print_sd(materialsData) << LL_ENDL;
LLHTTPClient::post(capURL, postData, materialsResponder);
}
}
@@ -670,7 +671,7 @@ void LLMaterialMgr::processPutQueue()
LLSD putData = LLSD::emptyMap();
putData[MATERIALS_CAP_ZIP_FIELD] = materialBinary;
- LL_DEBUGS("Materials") << "put for " << itRequest->second.size() << " faces" << LL_ENDL;
+ LL_DEBUGS("Materials") << "put for " << itRequest->second.size() << " faces to region " << itRequest->first->getName() << LL_ENDL;
LLHTTPClient::ResponderPtr materialsResponder = new LLMaterialsResponder("PUT", capURL, boost::bind(&LLMaterialMgr::onPutResponse, this, _1, _2));
LLHTTPClient::put(capURL, putData, materialsResponder);
}