diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2022-04-05 15:49:16 +0000 |
---|---|---|
committer | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2022-04-05 15:49:16 +0000 |
commit | a7339291c9134440bf66f53cb9dbedde021b7ca4 (patch) | |
tree | a479cf8720e16eb9faae0ae4641edd703a2059ac /indra | |
parent | 478c1e47bef0d316bd9ecaff6563fb9ad1a21c3e (diff) | |
parent | ab9a22122964e9ca93d6751f0f854635d2d9ad39 (diff) |
Merged in SL-17147 Disable simplification UI after calculating fee
Diffstat (limited to 'indra')
-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 |