diff options
-rw-r--r-- | ChangeLog.txt | 6 | ||||
-rw-r--r-- | linden/indra/newview/llimpanel.cpp | 13 |
2 files changed, 6 insertions, 13 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index 7d3b0d3..cd8db83 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt | |||
@@ -1,5 +1,11 @@ | |||
1 | 2008-09-22 Jacek Antonelli <jacek.antonelli@gmail.com> | 1 | 2008-09-22 Jacek Antonelli <jacek.antonelli@gmail.com> |
2 | 2 | ||
3 | * linden/indra/newview/llimpanel.cpp: | ||
4 | 'Offer Teleport' button in IM panel is now always enabled, | ||
5 | regardless of whether the other person is known to be online. | ||
6 | Fixes crash introduced by VWR-2072 when IMing someone not on | ||
7 | your friends list, and makes the feature useful in more cases. | ||
8 | |||
3 | * linden/indra/newview/skins/default/xui/en-us/floater_tools.xml: | 9 | * linden/indra/newview/skins/default/xui/en-us/floater_tools.xml: |
4 | Increased maximum settable transparency from 90% to 100%. | 10 | Increased maximum settable transparency from 90% to 100%. |
5 | 11 | ||
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 | ||