Fix for normal bug EXT-3749 - Clicking landmark attachment on Group notices doesn't open side panel.

--HG--
branch : product-engine
meow-7.2.2
Dmitry Zaporozhan 2010-01-19 17:22:13 +02:00
parent a498bf958c
commit 6fac1bf369
2 changed files with 8 additions and 0 deletions

View File

@ -59,6 +59,12 @@ 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()))
{
// landmark is not completely loaded yet
loaded_callback_map_t::value_type vt(asset_uuid, cb);
mLoadedCallbackMap.insert(vt);
}
return landmark;
}
else

View File

@ -460,6 +460,8 @@ void LLPanelPlaces::onLandmarkLoaded(LLLandmark* landmark)
mLandmarkInfo->displayParcelInfo(region_id, mPosGlobal);
mSaveBtn->setEnabled(TRUE);
updateVerbs();
}
void LLPanelPlaces::onFilterEdit(const std::string& search_string, bool force_filter)