diff options
Diffstat (limited to 'linden/indra/newview/llimpanel.cpp')
-rw-r--r-- | linden/indra/newview/llimpanel.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/linden/indra/newview/llimpanel.cpp b/linden/indra/newview/llimpanel.cpp index 46a64d4..b4afa34 100644 --- a/linden/indra/newview/llimpanel.cpp +++ b/linden/indra/newview/llimpanel.cpp | |||
@@ -1397,19 +1397,6 @@ void LLFloaterIMPanel::draw() | |||
1397 | childSetVisible("mute_btn", LLVoiceClient::voiceEnabled() && mVoiceChannel->isActive()); | 1397 | childSetVisible("mute_btn", LLVoiceClient::voiceEnabled() && mVoiceChannel->isActive()); |
1398 | } | 1398 | } |
1399 | 1399 | ||
1400 | // enable 'offer teleport' button | ||
1401 | if(mDialog == IM_NOTHING_SPECIAL) | ||
1402 | { | ||
1403 | const LLRelationship* info = NULL; | ||
1404 | info = LLAvatarTracker::instance().getBuddyInfo(mOtherParticipantUUID); | ||
1405 | childSetEnabled("offer_tp_btn", info->isOnline()); | ||
1406 | } | ||
1407 | else | ||
1408 | { | ||
1409 | childSetEnabled("offer_tp_btn", false); | ||
1410 | childSetVisible("offer_tp_button", false); | ||
1411 | } | ||
1412 | |||
1413 | LLFloater::draw(); | 1400 | LLFloater::draw(); |
1414 | } | 1401 | } |
1415 | 1402 | ||