diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index 98bd4ed9c3852dd28b1f8a28b64b30ddae9b8342..00f60cefc0ae4136d303d5e428f7ebec0dddc78d 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -593,6 +593,8 @@ void LLFace::renderSelected(LLViewerTexture *imagep, const LLColor4& color) gGL.multMatrix(*model_matrix); } + gGL.diffuseColor4fv(color.mV); + if (mDrawablep->isState(LLDrawable::RIGGED)) { LLVOVolume* volume = mDrawablep->getVOVolume(); diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index f4e8fc7971391736b76076be646d8c9a290feabe..83802376a4b25b940f531e3e86d72fdbd40a81bb 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -9290,6 +9290,7 @@ void LLPipeline::renderDeferredLighting(LLRenderTarget *screen_target) { gGL.setColorMask(true, true); mALRenderUtil->renderTonemap(&mHDRScreen, screen_target); + gGL.setColorMask(true, false); } screen_target->bindTarget();