diff options
Diffstat (limited to 'linden/indra/newview/llappviewer.cpp')
-rw-r--r-- | linden/indra/newview/llappviewer.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp index dd97cbf..4485cdf 100644 --- a/linden/indra/newview/llappviewer.cpp +++ b/linden/indra/newview/llappviewer.cpp | |||
@@ -440,8 +440,6 @@ static void settings_to_globals() | |||
440 | gMapScale = gSavedSettings.getF32("MapScale"); | 440 | gMapScale = gSavedSettings.getF32("MapScale"); |
441 | LLHoverView::sShowHoverTips = gSavedSettings.getBOOL("ShowHoverTips"); | 441 | LLHoverView::sShowHoverTips = gSavedSettings.getBOOL("ShowHoverTips"); |
442 | 442 | ||
443 | LLCubeMap::sUseCubeMaps = LLFeatureManager::getInstance()->isFeatureAvailable("RenderCubeMap"); | ||
444 | |||
445 | LLSlider::setScrollWheelMultiplier( gSavedSettings.getS32("SliderScrollWheelMultiplier") ); | 443 | LLSlider::setScrollWheelMultiplier( gSavedSettings.getS32("SliderScrollWheelMultiplier") ); |
446 | 444 | ||
447 | LLHUDEffectLookAt::sDebugLookAt = gSavedSettings.getBOOL("PersistShowLookAt"); | 445 | LLHUDEffectLookAt::sDebugLookAt = gSavedSettings.getBOOL("PersistShowLookAt"); |
@@ -779,6 +777,9 @@ bool LLAppViewer::init() | |||
779 | // | 777 | // |
780 | initWindow(); | 778 | initWindow(); |
781 | 779 | ||
780 | // initWindow also initializes the Feature List, so now we can initialize this global. | ||
781 | LLCubeMap::sUseCubeMaps = LLFeatureManager::getInstance()->isFeatureAvailable("RenderCubeMap"); | ||
782 | |||
782 | { | 783 | { |
783 | BOOL download = gSavedSettings.getBOOL("DownloadClientTags"); | 784 | BOOL download = gSavedSettings.getBOOL("DownloadClientTags"); |
784 | 785 | ||