summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2011-08-16 17:00:12 -0600
committerXiaohong Bao <bao@lindenlab.com>2011-08-16 17:00:12 -0600
commitb5f1ee387848e56cb2cd42195056ff5cd7baa01e (patch)
tree4d53a8ad336278e5aa12b03f1a0e680a6bb51e61
parent3001e3f6454db11ccf3d55d6e871d59e18915d9f (diff)
fix for SH-2023: Brightness Bump maps don't load when shadows are enabled
-rw-r--r--indra/newview/lldrawpoolbump.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/lldrawpoolbump.cpp b/indra/newview/lldrawpoolbump.cpp
index 6f71c54f79..eb78e28306 100644
--- a/indra/newview/lldrawpoolbump.cpp
+++ b/indra/newview/lldrawpoolbump.cpp
@@ -1078,6 +1078,7 @@ LLViewerTexture* LLBumpImageList::getBrightnessDarknessImage(LLViewerFetchedText
{
src_image->setBoostLevel(LLViewerTexture::BOOST_BUMP) ;
src_image->setLoadedCallback( callback_func, 0, TRUE, FALSE, new LLUUID(src_image->getID()), NULL );
+ src_image->forceToSaveRawImage(0) ;
}
}
}