summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Savchuk <vsavchuk@productengine.com>2010-01-20 20:44:24 +0200
committerVadim Savchuk <vsavchuk@productengine.com>2010-01-20 20:44:24 +0200
commit98d5be55d85cbcc0be22a0a50bbe5021a63f1978 (patch)
treebebcd312dc020d76bef9fbc8a19899ec59dab4ab
parent8758fac7124ff07f2a003bf5719c19a4dab170b9 (diff)
Fixed Linux build.
--HG-- branch : product-engine
-rw-r--r--indra/newview/lllandmarklist.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/lllandmarklist.cpp b/indra/newview/lllandmarklist.cpp
index 355f048308..ce84474c05 100644
--- a/indra/newview/lllandmarklist.cpp
+++ b/indra/newview/lllandmarklist.cpp
@@ -59,7 +59,8 @@ LLLandmark* LLLandmarkList::getAsset(const LLUUID& asset_uuid, loaded_callback_t
LLLandmark* landmark = get_ptr_in_map(mList, asset_uuid);
if(landmark)
{
- if(cb && !landmark->getGlobalPos(LLVector3d()))
+ LLVector3d dummy;
+ if(cb && !landmark->getGlobalPos(dummy))
{
// landmark is not completely loaded yet
loaded_callback_map_t::value_type vt(asset_uuid, cb);