SL probably doesn't return BakesOnMeshEnabled simulator feature...

meow-7.2.2
Ansariel 2024-05-20 12:38:15 +02:00
parent fae1ace6e8
commit 0347642e75
1 changed files with 1 additions and 1 deletions

View File

@ -2616,7 +2616,7 @@ void LLViewerRegion::setSimulatorFeatures(const LLSD& sim_features)
}
#endif
if (mSimulatorFeatures.has("BakesOnMeshEnabled") && mSimulatorFeatures["BakesOnMeshEnabled"].asBoolean())
if (LLGridManager::getInstance()->isInSecondLife() || (mSimulatorFeatures.has("BakesOnMeshEnabled") && mSimulatorFeatures["BakesOnMeshEnabled"].asBoolean()))
{
mMaxBakes = LLAvatarAppearanceDefines::EBakedTextureIndex::BAKED_NUM_INDICES;
mMaxTEs = LLAvatarAppearanceDefines::ETextureIndex::TEX_NUM_INDICES;