summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermenu.cpp
diff options
context:
space:
mode:
authorVadim ProductEngine <vsavchuk@productengine.com>2011-11-18 22:23:09 +0200
committerVadim ProductEngine <vsavchuk@productengine.com>2011-11-18 22:23:09 +0200
commit649beed53bd44ae5b06cd36f40897ed561fe48ab (patch)
treeb9ae9e0051195e6d2f65a4d6b6a9283d5df843e2 /indra/newview/llviewermenu.cpp
parent1543f98bab0ca7445c09e63644c8a5e428f9c5b1 (diff)
EXP-1577 FIX Made agent profile position and size persistent.
Enable My Profile to use saved_rect. Value of the "WebProfileRect" setting is ignored in this case.
Diffstat (limited to 'indra/newview/llviewermenu.cpp')
-rw-r--r--indra/newview/llviewermenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp
index 22d95563d8..81311b03f5 100644
--- a/indra/newview/llviewermenu.cpp
+++ b/indra/newview/llviewermenu.cpp
@@ -3122,7 +3122,7 @@ void handle_avatar_eject(const LLSD& avatar_id)
bool my_profile_visible()
{
- LLFloater* floaterp = LLFloaterReg::findInstance("profile", LLSD().with("id", gAgent.getID()));
+ LLFloater* floaterp = LLAvatarActions::getProfileFloater(gAgentID);
return floaterp && floaterp->isInVisibleChain();
}