summaryrefslogtreecommitdiff
path: root/indra/newview/llworldmap.cpp
diff options
context:
space:
mode:
authorSteven Bennetts <steve@lindenlab.com>2008-04-17 02:42:27 +0000
committerSteven Bennetts <steve@lindenlab.com>2008-04-17 02:42:27 +0000
commitd85247e63e5ff0b488211b62429a4895b48dee27 (patch)
tree0aa2f02aeef6a8133e0d037e95ad5089b20df9eb /indra/newview/llworldmap.cpp
parentd2597d35cf3aeaf0c47a134dfe9119ef7932b98a (diff)
QAR-449 Viewer 1.20 RC 0
merge Branch_1-20-Viewer -r 84060 : 84432 -> release
Diffstat (limited to 'indra/newview/llworldmap.cpp')
-rw-r--r--indra/newview/llworldmap.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llworldmap.cpp b/indra/newview/llworldmap.cpp
index 6c5118ed9d..1bd08c0430 100644
--- a/indra/newview/llworldmap.cpp
+++ b/indra/newview/llworldmap.cpp
@@ -343,6 +343,8 @@ void LLWorldMap::sendItemRequest(U32 type, U64 handle)
// public
void LLWorldMap::sendMapLayerRequest()
{
+ if (!gAgent.getRegion()) return;
+
LLSD body;
body["Flags"] = mCurrentMap;
std::string url = gAgent.getRegion()->getCapability(