#4110 Crash on LLScrollListCtrl::deleteSelectedItems

master
Andrey Kleshchev 2025-05-20 16:20:56 +03:00 committed by Andrey Kleshchev
parent 55b1a16b8e
commit 0129106bdf
2 changed files with 2 additions and 2 deletions

View File

@ -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())

View File

@ -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;
}