summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2025-05-20 16:20:56 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-05-22 19:41:17 +0300
commit0129106bdf80aa7bfb897e39a32045daf2cc471c (patch)
treec7e4423e09ffa0e45c172150c30fc8dbdd02555a /indra
parent55b1a16b8e64ca5cd5e1d75f024060fea4e8be3a (diff)
#4110 Crash on LLScrollListCtrl::deleteSelectedItems
Diffstat (limited to 'indra')
-rw-r--r--indra/llui/llscrolllistctrl.cpp2
-rw-r--r--indra/newview/llfloatermodelpreview.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/llscrolllistctrl.cpp b/indra/llui/llscrolllistctrl.cpp
index 245339b107..ff77b4d482 100644
--- a/indra/llui/llscrolllistctrl.cpp
+++ b/indra/llui/llscrolllistctrl.cpp
@@ -1007,7 +1007,7 @@ void LLScrollListCtrl::deleteItems(const LLSD& sd)
void LLScrollListCtrl::deleteSelectedItems()
{
item_list::iterator iter;
- for (iter = mItemList.begin(); iter < mItemList.end(); )
+ for (iter = mItemList.begin(); iter != mItemList.end(); )
{
LLScrollListItem* itemp = *iter;
if (itemp->getSelected())
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp
index 3b201582d3..47471edb92 100644
--- a/indra/newview/llfloatermodelpreview.cpp
+++ b/indra/newview/llfloatermodelpreview.cpp
@@ -757,7 +757,7 @@ void LLFloaterModelPreview::onLODParamCommit(S32 lod, bool enforce_tri_limit)
mModelPreview->onLODMeshOptimizerParamCommit(lod, enforce_tri_limit, mode);
break;
default:
- LL_ERRS() << "Only supposed to be called to generate models" << LL_ENDL;
+ LL_ERRS() << "Only supposed to be called to generate models, val: " << mode << LL_ENDL;
break;
}