added code for disabling clouds

This commit is contained in:
Hazim Gazov
2010-04-18 22:46:40 -03:00
parent faf628668b
commit 1d67001d25
6 changed files with 1704 additions and 1675 deletions

View File

@@ -2569,6 +2569,11 @@ bool idle_startup()
{
LLFloaterBeacons::showInstance();
}
if (!gSavedSettings.getBOOL("CloudsEnabled") && !gNoRender)
{
LLPipeline::toggleRenderTypeControl((void*)LLPipeline::RENDER_TYPE_CLOUDS);
}
if (!gNoRender)
{