Fix another issue

master
Ansariel 2025-08-11 14:03:30 +02:00
parent 0d8af269df
commit 1c6331efd5
2 changed files with 3 additions and 6 deletions

View File

@ -1928,8 +1928,6 @@ void LLModelPreview::genGlodLODs(S32 which_lod, U32 decimation, bool enforce_tri
mModel[lod].resize(mBaseModel.size());
mVertexBuffer[lod].clear();
//U32 submeshes = 0; // <FS:Ansariel> Remove unused variable
mRequestedTriangleCount[lod] = (S32)((F32)triangle_count / triangle_ratio);
mRequestedErrorThreshold[lod] = lod_error_threshold;
@ -2073,7 +2071,6 @@ void LLModelPreview::genGlodLODs(S32 which_lod, U32 decimation, bool enforce_tri
buff->getIndexStrider(index);
target_model->setVolumeFaceData(names[i], pos, norm, tc, index, buff->getNumVerts(), buff->getNumIndices());
//++submeshes; // <FS:Ansariel> Remove unused variable
if (!validate_face(target_model->getVolumeFace(names[i])))
{

View File

@ -5658,10 +5658,10 @@ bool LLVOAvatar::updateCharacter(LLAgent &agent)
}
bool visible = isVisible();
bool is_control_avatar = isControlAvatar(); // capture state to simplify tracing
// bool is_attachment = false; // <FS:Beq/> Set but not used
// <FS:Beq> Set but not used
// bool is_control_avatar = isControlAvatar(); // capture state to simplify tracing
// bool is_attachment = false;
// <FS:Beq> Set but not used
// if (is_control_avatar)
// {
// LLControlAvatar *cav = dynamic_cast<LLControlAvatar*>(this);