diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-11-01 14:19:00 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-11-01 14:19:00 -0400 |
commit | d4dc41dbd5b54501fcb3c94e07e4753ed4196eac (patch) | |
tree | 1e0d19543655af3f11c21c8b29232d36d16f13da /indra/newview/llviewerregion.cpp | |
parent | 823b316aa2673635d0263aa59b9bc143d874e402 (diff) |
misc error detection, debug coloration for avatar meshes
Diffstat (limited to 'indra/newview/llviewerregion.cpp')
-rwxr-xr-x | indra/newview/llviewerregion.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llviewerregion.cpp b/indra/newview/llviewerregion.cpp index 0855bc9243..c8ab055e3f 100755 --- a/indra/newview/llviewerregion.cpp +++ b/indra/newview/llviewerregion.cpp @@ -1745,6 +1745,11 @@ bool LLViewerRegion::isSpecialCapabilityName(const std::string &name) std::string LLViewerRegion::getCapability(const std::string& name) const { + if (!capabilitiesReceived() && (name!=std::string("Seed"))) + { + llwarns << "getCapability called before caps received" << llendl; + } + CapabilityMap::const_iterator iter = mImpl->mCapabilities.find(name); if(iter == mImpl->mCapabilities.end()) { |