aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llstartup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llstartup.cpp')
-rw-r--r--linden/indra/newview/llstartup.cpp21
1 files changed, 18 insertions, 3 deletions
diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp
index 4683df1..402afdb 100644
--- a/linden/indra/newview/llstartup.cpp
+++ b/linden/indra/newview/llstartup.cpp
@@ -199,6 +199,10 @@
199#include <Security/Security.h> 199#include <Security/Security.h>
200#endif 200#endif
201 201
202// [RLVa:KB]
203#include "rlvhandler.h"
204// [/RLVa:KB]
205
202#if LL_WINDOWS 206#if LL_WINDOWS
203#include "llwindebug.h" 207#include "llwindebug.h"
204#include "lldxhardware.h" 208#include "lldxhardware.h"
@@ -2440,6 +2444,14 @@ bool idle_startup()
2440 LLInventoryView::toggleVisibility(NULL); 2444 LLInventoryView::toggleVisibility(NULL);
2441 } 2445 }
2442 2446
2447// [RLVa:KB] - Checked: 2009-11-27 (RLVa-1.1.0f) | Added: RLVa-1.1.0f
2448 if (rlv_handler_t::isEnabled())
2449 {
2450 // Regularly process a select subset of retained commands during logon
2451 gIdleCallbacks.addFunction(RlvHandler::onIdleStartup, new LLTimer());
2452 }
2453// [/RLVa:KB]
2454
2443 LLStartUp::setStartupState( STATE_MISC ); 2455 LLStartUp::setStartupState( STATE_MISC );
2444 return FALSE; 2456 return FALSE;
2445 } 2457 }
@@ -2787,8 +2799,11 @@ bool idle_startup()
2787 // Have the agent start watching the friends list so we can update proxies 2799 // Have the agent start watching the friends list so we can update proxies
2788 gAgent.observeFriends(); 2800 gAgent.observeFriends();
2789 2801
2790 // Start loading inventory 2802 if (gSavedSettings.getBOOL("FetchInventoryOnLogin"))
2791 gInventory.startBackgroundFetch(); 2803 {
2804 // Start loading inventory
2805 gInventory.startBackgroundFetch();
2806 }
2792 2807
2793 if (gSavedSettings.getBOOL("LoginAsGod")) 2808 if (gSavedSettings.getBOOL("LoginAsGod"))
2794 { 2809 {
@@ -2839,7 +2854,7 @@ bool idle_startup()
2839 // reset keyboard focus to sane state of pointing at world 2854 // reset keyboard focus to sane state of pointing at world
2840 gFocusMgr.setKeyboardFocus(NULL); 2855 gFocusMgr.setKeyboardFocus(NULL);
2841 2856
2842// [RLVa:KB] - Alternate: Snowglobe-1.0 | Checked: 2009-08-05 (RLVa-1.0.1e) | Modified: RLVa-1.0.1e 2857// [RLVa:KB] - Alternate: Snowglobe-1.2.4 | Checked: 2009-08-05 (RLVa-1.0.1e) | Modified: RLVa-1.0.1e
2843 // RELEASE-RLVa: this should go in LLAppViewer::handleLoginComplete() but Imprudence doesn't call that function 2858 // RELEASE-RLVa: this should go in LLAppViewer::handleLoginComplete() but Imprudence doesn't call that function
2844 gRlvHandler.initLookupTables(); 2859 gRlvHandler.initLookupTables();
2845 2860