diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2022-04-05 18:37:40 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2022-04-05 18:37:40 +0300 |
commit | ab9a22122964e9ca93d6751f0f854635d2d9ad39 (patch) | |
tree | bcd5b34837337a045ce8fa79d92b78d5aa2a825a /indra/newview | |
parent | 9f102ad748cf61fc0f0b44ab785766e046bfdaf5 (diff) |
SL-17147 Disable simplification UI after calculating fee
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llfloatermodelpreview.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp index 0fefb0d432..ce5e3a5409 100644 --- a/indra/newview/llfloatermodelpreview.cpp +++ b/indra/newview/llfloatermodelpreview.cpp @@ -516,6 +516,15 @@ void LLFloaterModelPreview::onClickCalculateBtn() toggleCalculateButton(false); mUploadBtn->setEnabled(false); + + //disable "simplification" UI + LLPanel* simplification_panel = getChild<LLPanel>("physics simplification"); + LLView* child = simplification_panel->getFirstChild(); + while (child) + { + child->setEnabled(false); + child = simplification_panel->findNextSibling(child); + } } // Modified cell_params, make sure to clear values if you have to reuse cell_params outside of this function |