diff options
author | Dmitry Zaporozhan <dzaporozhan@productengine.com> | 2010-01-19 18:03:25 +0200 |
---|---|---|
committer | Dmitry Zaporozhan <dzaporozhan@productengine.com> | 2010-01-19 18:03:25 +0200 |
commit | f53f65cc1a90673af0b7dde970c175ed9acd60fc (patch) | |
tree | ef1ca4ce7a1992345e147dbd009df2ed2c87c413 /indra/newview/llpanelplaces.cpp | |
parent | 6fac1bf369f6f0fecd5724f8cff801d3b755cda0 (diff) |
Update for normal bug EXT-3749 - Clicking landmark attachment on Group notices doesn't open side panel.
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llpanelplaces.cpp')
-rw-r--r-- | indra/newview/llpanelplaces.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/indra/newview/llpanelplaces.cpp b/indra/newview/llpanelplaces.cpp index 59b12c7096..a71c8d8958 100644 --- a/indra/newview/llpanelplaces.cpp +++ b/indra/newview/llpanelplaces.cpp @@ -449,6 +449,22 @@ void LLPanelPlaces::setItem(LLInventoryItem* item) } } +S32 LLPanelPlaces::notifyParent(const LLSD& info) +{ + if(info.has("update_verbs")) + { + if(mPosGlobal.isExactlyZero()) + { + mPosGlobal.setVec(info["global_x"], info["global_y"], info["global_z"]); + } + + updateVerbs(); + + return 1; + } + return LLPanel::notifyParent(info); +} + void LLPanelPlaces::onLandmarkLoaded(LLLandmark* landmark) { if (!mLandmarkInfo) |