SL-17545 fix double-scheduling of calculations

master
Andrey Kleshchev 2022-07-06 15:57:58 +03:00
parent 429274c468
commit 3dcdc4c85a
1 changed files with 1 additions and 1 deletions

View File

@ -839,7 +839,7 @@ void LLModelPreview::clearIncompatible(S32 lod)
}
}
if (replaced_base_model)
if (replaced_base_model && !mGenLOD)
{
// In case base was replaced, we might need to restart generation
bool subscribe_for_generation = mLodsQuery.empty();