diff options
author | Alexander Gavriliuk <alexandrgproductengine@lindenlab.com> | 2024-07-26 19:32:23 +0200 |
---|---|---|
committer | Guru <alexandrgproductengine@lindenlab.com> | 2024-07-29 19:50:28 +0200 |
commit | 5d25504f8335132d0d222b266f8772062c88b335 (patch) | |
tree | d60ac8e9da7177063ede71908d65134802c1ceed /indra/newview/llviewermenu.cpp | |
parent | 7a4249937db591d146d8c91f2a85c5c721543f19 (diff) |
#2100 BugSplat Crash #1497210: LLVOAvatar::updateImpostors()(10616)
Diffstat (limited to 'indra/newview/llviewermenu.cpp')
-rw-r--r-- | indra/newview/llviewermenu.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index cd0b3dbd0c..0c8dd6dff9 100644 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -1892,10 +1892,9 @@ class LLAdvancedForceParamsToDefault : public view_listener_t static void set_all_animation_time_factors(F32 time_factor) { LLMotionController::setCurrentTimeFactor(time_factor); - for (std::vector<LLCharacter*>::iterator iter = LLCharacter::sInstances.begin(); - iter != LLCharacter::sInstances.end(); ++iter) + for (LLCharacter* character : LLCharacter::sInstances) { - (*iter)->setAnimTimeFactor(time_factor); + character->setAnimTimeFactor(time_factor); } } |