diff options
Diffstat (limited to 'linden/indra/newview/llfloateravatarpicker.cpp')
-rw-r--r-- | linden/indra/newview/llfloateravatarpicker.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/linden/indra/newview/llfloateravatarpicker.cpp b/linden/indra/newview/llfloateravatarpicker.cpp index c5a6a37..4eca8af 100644 --- a/linden/indra/newview/llfloateravatarpicker.cpp +++ b/linden/indra/newview/llfloateravatarpicker.cpp | |||
@@ -351,6 +351,30 @@ void LLFloaterAvatarPicker::populateNearMe() | |||
351 | void LLFloaterAvatarPicker::draw() | 351 | void LLFloaterAvatarPicker::draw() |
352 | { | 352 | { |
353 | LLFloater::draw(); | 353 | LLFloater::draw(); |
354 | |||
355 | // [RLVa:KB] - Version: 1.23.4 | Checked: 2009-07-08 (RLVa-1.0.0e) | Added: RLVa-1.0.0e | ||
356 | // TODO-RLVa: this code needs revisiting | ||
357 | if (rlv_handler_t::isEnabled()) | ||
358 | { | ||
359 | LLPanel* pNearMePanel = getChild<LLPanel>("NearMePanel"); | ||
360 | if ( (pNearMePanel) && (childGetVisibleTab("ResidentChooserTabs") == pNearMePanel) ) | ||
361 | { | ||
362 | if (gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES)) | ||
363 | { | ||
364 | if (mNearMeListComplete) | ||
365 | { | ||
366 | getChild<LLScrollListCtrl>("NearMe")->deleteAllItems(); | ||
367 | childSetEnabled("Select", false); | ||
368 | } | ||
369 | mNearMeListComplete = FALSE; | ||
370 | pNearMePanel->setCtrlsEnabled(FALSE); | ||
371 | return; | ||
372 | } | ||
373 | pNearMePanel->setCtrlsEnabled(TRUE); | ||
374 | } | ||
375 | } | ||
376 | // [/RLVa:KB] | ||
377 | |||
354 | if (!mNearMeListComplete && childGetVisibleTab("ResidentChooserTabs") == getChild<LLPanel>("NearMePanel")) | 378 | if (!mNearMeListComplete && childGetVisibleTab("ResidentChooserTabs") == getChild<LLPanel>("NearMePanel")) |
355 | { | 379 | { |
356 | populateNearMe(); | 380 | populateNearMe(); |