diff options
-rw-r--r-- | ChangeLog.txt | 8 | ||||
-rw-r--r-- | linden/indra/newview/llappviewer.cpp | 2 | ||||
-rw-r--r-- | linden/indra/newview/llstartup.cpp | 17 |
3 files changed, 26 insertions, 1 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index 255f334..fbdabd6 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt | |||
@@ -1,3 +1,11 @@ | |||
1 | 2009-10-19 McCabe Maxsted <hakushakukun@gmail.com> | ||
2 | |||
3 | * Applied rlva_init-imprudence.patch (fixes RLVa not initializing in 1.2). | ||
4 | |||
5 | modified: linden/indra/newview/llappviewer.cpp | ||
6 | modified: linden/indra/newview/llstartup.cpp | ||
7 | |||
8 | |||
1 | 2009-10-17 McCabe Maxsted <hakushakukun@gmail.com> | 9 | 2009-10-17 McCabe Maxsted <hakushakukun@gmail.com> |
2 | 10 | ||
3 | * Ported notecard security fix from LL's 1.23.5 viewer. | 11 | * Ported notecard security fix from LL's 1.23.5 viewer. |
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 | ||