diff options
Diffstat (limited to 'linden/indra/newview')
-rw-r--r-- | linden/indra/newview/lightshare.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/lightshare.cpp b/linden/indra/newview/lightshare.cpp index b422236..78d27b5 100644 --- a/linden/indra/newview/lightshare.cpp +++ b/linden/indra/newview/lightshare.cpp | |||
@@ -101,7 +101,7 @@ WindlightMessage::~WindlightMessage() | |||
101 | // static | 101 | // static |
102 | void WindlightMessage::processWindlight(LLMessageSystem* msg, void**) | 102 | void WindlightMessage::processWindlight(LLMessageSystem* msg, void**) |
103 | { | 103 | { |
104 | if( gSavedSettings.getU32("UseLightShare") <= LIGHTSHARE_NEVER ) | 104 | if( gSavedSettings.getU32("LightShareAllowed") <= LIGHTSHARE_NEVER ) |
105 | return; | 105 | return; |
106 | 106 | ||
107 | WindlightMessage* wl = new WindlightMessage(msg); | 107 | WindlightMessage* wl = new WindlightMessage(msg); |
@@ -114,7 +114,7 @@ void WindlightMessage::processWindlight(LLMessageSystem* msg, void**) | |||
114 | 114 | ||
115 | // If they are using region settings already, or LightShare is | 115 | // If they are using region settings already, or LightShare is |
116 | // always allowed, just apply the new settings, don't bother asking. | 116 | // always allowed, just apply the new settings, don't bother asking. |
117 | if( gSavedSettings.getU32("UseLightShare") == LIGHTSHARE_ALWAYS || | 117 | if( gSavedSettings.getU32("LightShareAllowed") == LIGHTSHARE_ALWAYS || |
118 | (sky == sSkyPresetName && water == sWaterPresetName) ) | 118 | (sky == sSkyPresetName && water == sWaterPresetName) ) |
119 | { | 119 | { |
120 | wl->apply(); | 120 | wl->apply(); |
@@ -138,7 +138,7 @@ void WindlightMessage::processWindlight(LLMessageSystem* msg, void**) | |||
138 | return; | 138 | return; |
139 | } | 139 | } |
140 | 140 | ||
141 | if( gSavedSettings.getU32("UseLightShare") == LIGHTSHARE_ASK && | 141 | if( gSavedSettings.getU32("LightShareAllowed") == LIGHTSHARE_ASK && |
142 | sMostRecent == NULL ) | 142 | sMostRecent == NULL ) |
143 | { | 143 | { |
144 | // No most recent, so store this and create notification | 144 | // No most recent, so store this and create notification |