summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatereditextdaycycle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloatereditextdaycycle.cpp')
-rw-r--r--indra/newview/llfloatereditextdaycycle.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/llfloatereditextdaycycle.cpp b/indra/newview/llfloatereditextdaycycle.cpp
index c92eed42cd..2c10835fb0 100644
--- a/indra/newview/llfloatereditextdaycycle.cpp
+++ b/indra/newview/llfloatereditextdaycycle.cpp
@@ -619,12 +619,12 @@ void LLFloaterEditExtDayCycle::onButtonApply(LLUICtrl *ctrl, const LLSD &data)
if (water)
{
// LLViewerFetchedTexture and check for FTT_LOCAL_FILE or check LLLocalBitmapMgr
- if (LLLocalBitmapMgr::isLocal(water->getNormalMapID()))
+ if (LLLocalBitmapMgr::getInstance()->isLocal(water->getNormalMapID()))
{
desc = LLTrans::getString("EnvironmentNormalMap");
is_local = true;
}
- else if (LLLocalBitmapMgr::isLocal(water->getTransparentTextureID()))
+ else if (LLLocalBitmapMgr::getInstance()->isLocal(water->getTransparentTextureID()))
{
desc = LLTrans::getString("EnvironmentTransparent");
is_local = true;
@@ -636,22 +636,22 @@ void LLFloaterEditExtDayCycle::onButtonApply(LLUICtrl *ctrl, const LLSD &data)
LLSettingsSky::ptr_t sky = std::static_pointer_cast<LLSettingsSky>(iter->second);
if (sky)
{
- if (LLLocalBitmapMgr::isLocal(sky->getSunTextureId()))
+ if (LLLocalBitmapMgr::getInstance()->isLocal(sky->getSunTextureId()))
{
desc = LLTrans::getString("EnvironmentSun");
is_local = true;
}
- else if (LLLocalBitmapMgr::isLocal(sky->getMoonTextureId()))
+ else if (LLLocalBitmapMgr::getInstance()->isLocal(sky->getMoonTextureId()))
{
desc = LLTrans::getString("EnvironmentMoon");
is_local = true;
}
- else if (LLLocalBitmapMgr::isLocal(sky->getCloudNoiseTextureId()))
+ else if (LLLocalBitmapMgr::getInstance()->isLocal(sky->getCloudNoiseTextureId()))
{
desc = LLTrans::getString("EnvironmentCloudNoise");
is_local = true;
}
- else if (LLLocalBitmapMgr::isLocal(sky->getBloomTextureId()))
+ else if (LLLocalBitmapMgr::getInstance()->isLocal(sky->getBloomTextureId()))
{
desc = LLTrans::getString("EnvironmentBloom");
is_local = true;