We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e299cc commit ad47437Copy full SHA for ad47437
indra/newview/lloutfitslist.cpp
@@ -1169,8 +1169,8 @@ void LLOutfitListBase::onIdleRefreshList()
1169
// <FS:PP> Scale MAX_TIME with FPS to avoid overloading the viewer with function calls at low frame rates
1170
// const F64 MAX_TIME = 0.05f;
1171
F64 MAX_TIME = 0.05f;
1172
- const F64 min_time = 0.001f;
1173
- const F64 threshold_fps = 30.0;
+ constexpr F64 min_time = 0.001f;
+ constexpr F64 threshold_fps = 30.0;
1174
const auto current_fps = LLTrace::get_frame_recording().getPeriodMedianPerSec(LLStatViewer::FPS, 1);
1175
if (current_fps < threshold_fps)
1176
{
0 commit comments