#4195 Clear code from a merge conflict

This part was removed unintentionally, due to a merge conflict resolution.
master
Andrey Kleshchev 2025-10-06 16:54:17 +03:00
parent 5fe152cfea
commit 9c28607a7c
1 changed files with 11 additions and 0 deletions

View File

@ -380,6 +380,17 @@ void LLGLTFMaterialList::queueApply(const LLViewerObject* obj, S32 side, const L
LLGLTFMaterial* material = new LLGLTFMaterial(*material_override);
sApplyQueue.push_back({ obj->getID(), side, asset_id, material });
}
if (sUpdates.size() >= MAX_TASK_UPDATES)
{
LLCoros::instance().launch("modifyMaterialCoro",
std::bind(&LLGLTFMaterialList::modifyMaterialCoro,
gAgent.getRegionCapability("ModifyMaterialParams"),
sUpdates,
std::shared_ptr<CallbackHolder>(nullptr)));
sUpdates = LLSD::emptyArray();
}
}
void LLGLTFMaterialList::queueUpdate(const LLSD& data)