diff options
Diffstat (limited to 'linden/indra/newview/pipeline.cpp')
-rw-r--r-- | linden/indra/newview/pipeline.cpp | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/linden/indra/newview/pipeline.cpp b/linden/indra/newview/pipeline.cpp index ebf2f91..4ea9e41 100644 --- a/linden/indra/newview/pipeline.cpp +++ b/linden/indra/newview/pipeline.cpp | |||
@@ -1963,8 +1963,13 @@ void LLPipeline::stateSort(LLDrawable* drawablep, LLCamera& camera) | |||
1963 | 1963 | ||
1964 | if (gHideSelectedObjects) | 1964 | if (gHideSelectedObjects) |
1965 | { | 1965 | { |
1966 | if (drawablep->getVObj().notNull() && | 1966 | // if (drawablep->getVObj().notNull() && |
1967 | drawablep->getVObj()->isSelected()) | 1967 | // drawablep->getVObj()->isSelected()) |
1968 | // [RLVa:KB] - Checked: 2009-10-10 (RLVa-1.0.5a) | Modified: RLVa-1.0.5a | ||
1969 | LLViewerObject* pObj = drawablep->getVObj(); | ||
1970 | if ( (pObj) && (pObj->isSelected()) && | ||
1971 | ((!rlv_handler_t::isEnabled()) || (!pObj->isHUDAttachment()) || (!gRlvHandler.isLockedAttachment(pObj, RLV_LOCK_REMOVE))) ) | ||
1972 | // [/RVLa:KB] | ||
1968 | { | 1973 | { |
1969 | return; | 1974 | return; |
1970 | } | 1975 | } |
@@ -2294,7 +2299,7 @@ void LLPipeline::postSort(LLCamera& camera) | |||
2294 | } | 2299 | } |
2295 | 2300 | ||
2296 | // only render if the flag is set. The flag is only set if we are in edit mode or the toggle is set in the menus | 2301 | // only render if the flag is set. The flag is only set if we are in edit mode or the toggle is set in the menus |
2297 | if (gSavedSettings.getBOOL("BeaconAlwaysOn") && !sShadowRender) | 2302 | if (gSavedSettings.getBOOL("BeaconsEnabled") && !sShadowRender) |
2298 | { | 2303 | { |
2299 | if (sRenderScriptedTouchBeacons) | 2304 | if (sRenderScriptedTouchBeacons) |
2300 | { | 2305 | { |
@@ -4184,6 +4189,11 @@ void LLPipeline::enableLightsAvatar() | |||
4184 | 4189 | ||
4185 | void LLPipeline::enableLightsAvatarEdit(const LLColor4& color) | 4190 | void LLPipeline::enableLightsAvatarEdit(const LLColor4& color) |
4186 | { | 4191 | { |
4192 | if (mLightingDetail < 1) | ||
4193 | { | ||
4194 | return; | ||
4195 | } | ||
4196 | |||
4187 | U32 mask = 0x2002; // Avatar backlight only, set ambient | 4197 | U32 mask = 0x2002; // Avatar backlight only, set ambient |
4188 | setupAvatarLights(TRUE); | 4198 | setupAvatarLights(TRUE); |
4189 | enableLights(mask); | 4199 | enableLights(mask); |