Fixed Linux build.

--HG--
branch : product-engine
meow-7.2.2
Vadim Savchuk 2010-01-20 20:44:24 +02:00
parent 8758fac712
commit 98d5be55d8
1 changed files with 2 additions and 1 deletions

View File

@ -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);