Fixes focusing from minimap
This commit is contained in:
@@ -115,6 +115,7 @@ LLNetMap::LLNetMap(const std::string& name) :
|
||||
(new LLEnableTracking())->registerListener(this, "MiniMap.EnableTracking");
|
||||
(new LLShowAgentProfile())->registerListener(this, "MiniMap.ShowProfile");
|
||||
(new LLEnableProfile())->registerListener(this, "MiniMap.EnableProfile");
|
||||
(new LLCamFollow())->registerListener(this, "MiniMap.CamFollow"); //moymod - add cam follow crap thingie
|
||||
(new mmsetred())->registerListener(this, "MiniMap.setred");
|
||||
(new mmsetgreen())->registerListener(this, "MiniMap.setgreen");
|
||||
(new mmsetblue())->registerListener(this, "MiniMap.setblue");
|
||||
@@ -1120,6 +1121,15 @@ bool LLNetMap::LLEnableTracking::handleEvent(LLPointer<LLEvent> event, const LLS
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
bool LLNetMap::LLCamFollow::handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
|
||||
{
|
||||
LLNetMap *self = mPtr;
|
||||
LLFloaterAvatarList::lookAtAvatar(self->mClosestAgentAtLastRightClick);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
bool LLNetMap::LLShowAgentProfile::handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
|
||||
{
|
||||
LLNetMap *self = mPtr;
|
||||
|
||||
Reference in New Issue
Block a user