Skip to content
Snippets Groups Projects
Commit dcb51624 authored by NiranV's avatar NiranV
Browse files

Fixed: Sidebar shadow distance sliders not refreshing if changed outside the sidebar.

parent f872ca56
No related branches found
No related tags found
No related merge requests found
......@@ -63,12 +63,12 @@ void LLSideBar::draw()
{
if (gSideBar->getParentByType<LLLayoutPanel>()->getVisibleAmount() > 0.01f)
{
//mShadowDistY->setEnabled(!gPipeline.RenderShadowAutomaticDistance);
//mShadowDistZ->setEnabled(!gPipeline.RenderShadowAutomaticDistance);
//mShadowDistW->setEnabled(!gPipeline.RenderShadowAutomaticDistance);
if (mUpdateTimer.getElapsedTimeF32() > 3.f)
{
mShadowDistY->setEnabled(!gPipeline.RenderShadowAutomaticDistance);
mShadowDistZ->setEnabled(!gPipeline.RenderShadowAutomaticDistance);
mShadowDistW->setEnabled(!gPipeline.RenderShadowAutomaticDistance);
//refreshCreationControls();
mUpdateTimer.reset();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment