aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-10-19 01:44:31 -0700
committerMcCabe Maxsted2009-10-19 01:44:31 -0700
commitb81968c663282db7eb5db5b8e506aa533c636ccc (patch)
treef2f338a137914839372a50746d681e621bd23b6d /linden/indra/newview
parentMerge commit 'lilly/lilly_import-export' into next (diff)
downloadmeta-impy-b81968c663282db7eb5db5b8e506aa533c636ccc.zip
meta-impy-b81968c663282db7eb5db5b8e506aa533c636ccc.tar.gz
meta-impy-b81968c663282db7eb5db5b8e506aa533c636ccc.tar.bz2
meta-impy-b81968c663282db7eb5db5b8e506aa533c636ccc.tar.xz
Applied rlva_init-imprudence.patch (fixes RLVa not initializing in 1.2)
Diffstat (limited to 'linden/indra/newview')
-rw-r--r--linden/indra/newview/llappviewer.cpp2
-rw-r--r--linden/indra/newview/llstartup.cpp17
2 files changed, 18 insertions, 1 deletions
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp
index 448e26b..c432066 100644
--- a/linden/indra/newview/llappviewer.cpp
+++ b/linden/indra/newview/llappviewer.cpp
@@ -3927,7 +3927,7 @@ void LLAppViewer::handleLoginComplete()
3927 writeDebugInfo(); 3927 writeDebugInfo();
3928 3928
3929// [RLVa:KB] - Alternate: Snowglobe-1.0 | Checked: 2009-08-05 (RLVa-1.0.1e) | Modified: RLVa-1.0.1e 3929// [RLVa:KB] - Alternate: Snowglobe-1.0 | Checked: 2009-08-05 (RLVa-1.0.1e) | Modified: RLVa-1.0.1e
3930 // TODO-RLVa: find some way to initialize the lookup table when we need them *and* support toggling RLVa at runtime 3930 // NOTE: this function isn't called in Imprudence so any changes need to go in idle_startup() instead
3931 gRlvHandler.initLookupTables(); 3931 gRlvHandler.initLookupTables();
3932 3932
3933 if (rlv_handler_t::isEnabled()) 3933 if (rlv_handler_t::isEnabled())
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()
2647 2647
2648 LLAppViewer::instance()->initMainloopTimeout("Mainloop Init"); 2648 LLAppViewer::instance()->initMainloopTimeout("Mainloop Init");
2649 2649
2650// [RLVa:KB] - Alternate: Snowglobe-1.0 | Checked: 2009-08-05 (RLVa-1.0.1e) | Modified: RLVa-1.0.1e
2651 // RELEASE-RLVa: this should go in LLAppViewer::handleLoginComplete() but Imprudence doesn't call that function
2652 gRlvHandler.initLookupTables();
2653
2654 if (rlv_handler_t::isEnabled())
2655 {
2656 RlvCurrentlyWorn::fetchWorn();
2657 rlv_handler_t::fetchSharedInventory();
2658
2659 #ifdef RLV_EXTENSION_STARTLOCATION
2660 RlvSettings::updateLoginLastLocation();
2661 #endif // RLV_EXTENSION_STARTLOCATION
2662
2663 gRlvHandler.processRetainedCommands();
2664 }
2665// [/RLVa:KB]
2666
2650 return TRUE; 2667 return TRUE;
2651 } 2668 }
2652 2669