From b81968c663282db7eb5db5b8e506aa533c636ccc Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Mon, 19 Oct 2009 01:44:31 -0700 Subject: Applied rlva_init-imprudence.patch (fixes RLVa not initializing in 1.2) --- linden/indra/newview/llstartup.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'linden/indra/newview/llstartup.cpp') diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp index 346f7dd..d747bd2 100644 --- a/linden/indra/newview/llstartup.cpp +++ b/linden/indra/newview/llstartup.cpp @@ -2647,6 +2647,23 @@ bool idle_startup() LLAppViewer::instance()->initMainloopTimeout("Mainloop Init"); +// [RLVa:KB] - Alternate: Snowglobe-1.0 | Checked: 2009-08-05 (RLVa-1.0.1e) | Modified: RLVa-1.0.1e + // RELEASE-RLVa: this should go in LLAppViewer::handleLoginComplete() but Imprudence doesn't call that function + gRlvHandler.initLookupTables(); + + if (rlv_handler_t::isEnabled()) + { + RlvCurrentlyWorn::fetchWorn(); + rlv_handler_t::fetchSharedInventory(); + + #ifdef RLV_EXTENSION_STARTLOCATION + RlvSettings::updateLoginLastLocation(); + #endif // RLV_EXTENSION_STARTLOCATION + + gRlvHandler.processRetainedCommands(); + } +// [/RLVa:KB] + return TRUE; } -- cgit v1.1