summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-07-06 15:57:58 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-07-06 15:57:58 +0300
commit3dcdc4c85a33437f4de9ce474728ef4ab99eb5c2 (patch)
tree85b0634b52b921493031e18bce1abde8862ba7ce /indra
parent429274c4681da05d2e1ea7eb37b5d031fb4b1347 (diff)
SL-17545 fix double-scheduling of calculations
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llmodelpreview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llmodelpreview.cpp b/indra/newview/llmodelpreview.cpp
index d8131171bd..2920521d31 100644
--- a/indra/newview/llmodelpreview.cpp
+++ b/indra/newview/llmodelpreview.cpp
@@ -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();