summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelplaces.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2013-11-18 19:05:34 -0500
committerOz Linden <oz@lindenlab.com>2013-11-18 19:05:34 -0500
commit6bd777214c535b91048533c792cb2dd499ec6ebf (patch)
tree24cd4bb15bac292cfd71c39dcdd58e597fffb8e3 /indra/newview/llpanelplaces.cpp
parentebc9bcbf69f7a519677a6522979a6bf6cbb04bb8 (diff)
add callbacks to LLAgent for Region and Parcel changes
Diffstat (limited to 'indra/newview/llpanelplaces.cpp')
-rwxr-xr-xindra/newview/llpanelplaces.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelplaces.cpp b/indra/newview/llpanelplaces.cpp
index 6c2a01fc82..8bb3ace2d9 100755
--- a/indra/newview/llpanelplaces.cpp
+++ b/indra/newview/llpanelplaces.cpp
@@ -251,7 +251,7 @@ LLPanelPlaces::LLPanelPlaces()
gInventory.addObserver(mInventoryObserver);
- mAgentParcelChangedConnection = LLViewerParcelMgr::getInstance()->addAgentParcelChangedCallback(
+ mAgentParcelChangedConnection = gAgent.addParcelChangedCallback(
boost::bind(&LLPanelPlaces::updateVerbs, this));
//buildFromFile( "panel_places.xml"); // Called from LLRegisterPanelClass::defaultPanelClassBuilder()