diff options
author | Alexander Gavriliuk <alexandrgproductengine@lindenlab.com> | 2023-12-06 03:54:06 +0100 |
---|---|---|
committer | Guru <alexandrgproductengine@lindenlab.com> | 2023-12-06 18:51:53 +0100 |
commit | 810a3d24c2e3671f926091c062b101bdec6a1517 (patch) | |
tree | 5130d7a5b4904c0bc4fefba3f8d952984245cd9e /indra/newview/llscrollingpanelparambase.h | |
parent | eff5958c11f2fcbb0449b8e011d4676a239bbe57 (diff) |
SL-20140 Setting shape hand size to 36 won't save
Diffstat (limited to 'indra/newview/llscrollingpanelparambase.h')
-rw-r--r-- | indra/newview/llscrollingpanelparambase.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llscrollingpanelparambase.h b/indra/newview/llscrollingpanelparambase.h index 9538826251..e7f88a21bd 100644 --- a/indra/newview/llscrollingpanelparambase.h +++ b/indra/newview/llscrollingpanelparambase.h @@ -36,6 +36,7 @@ class LLViewerVisualParam; class LLWearable; class LLVisualParamHint; class LLViewerVisualParam; +class LLSliderCtrl; class LLJoint; class LLScrollingPanelParamBase : public LLScrollingPanel @@ -49,11 +50,13 @@ public: static void onSliderMoved(LLUICtrl* ctrl, void* userdata); - F32 weightToPercent( F32 weight ); - F32 percentToWeight( F32 percent ); + F32 weightToSlider(F32 weight); + F32 sliderToWeight(F32 slider); public: LLViewerVisualParam* mParam; + LLSliderCtrl* mSlider; + protected: BOOL mAllowModify; LLWearable *mWearable; |