summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2015-12-30 15:54:45 +0200
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2015-12-30 15:54:45 +0200
commit5d6935ef869736bc5e2356cefb8ec6b082056cde (patch)
tree5b41ede58b498eb47f602be7234aa77f371b36ec
parent6901fea2033663e16f7fe7ad2afcf0ba4654eef8 (diff)
MAINT-1338 FIXED Slider marker is out of slider after reopening Preference
-rwxr-xr-xindra/newview/llfloaterpreference.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp
index f7861fb4fd..5571a9f39c 100755
--- a/indra/newview/llfloaterpreference.cpp
+++ b/indra/newview/llfloaterpreference.cpp
@@ -480,6 +480,10 @@ BOOL LLFloaterPreference::postBuild()
LLLogChat::setSaveHistorySignal(boost::bind(&LLFloaterPreference::onLogChatHistorySaved, this));
+ LLSliderCtrl* fov_slider = getChild<LLSliderCtrl>("camera_fov");
+ fov_slider->setMinValue(LLViewerCamera::getInstance()->getMinView());
+ fov_slider->setMaxValue(LLViewerCamera::getInstance()->getMaxView());
+
return TRUE;
}