diff options
Diffstat (limited to 'linden/indra/newview/pipeline.cpp')
-rw-r--r-- | linden/indra/newview/pipeline.cpp | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/linden/indra/newview/pipeline.cpp b/linden/indra/newview/pipeline.cpp index d6bc6da..6fb2cec 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-07-06 (RLVa-1.0.0c) | ||
1969 | LLViewerObject* pObj = drawablep->getVObj(); | ||
1970 | if ( (pObj) && (pObj->isSelected()) && | ||
1971 | ((!rlv_handler_t::isEnabled()) || (!pObj->isHUDAttachment()) || (gRlvHandler.isDetachable(pObj))) ) | ||
1972 | // [/RVLa:KB] | ||
1968 | { | 1973 | { |
1969 | return; | 1974 | return; |
1970 | } | 1975 | } |
@@ -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); |