diff --git a/indra/newview/llmodelpreview.cpp b/indra/newview/llmodelpreview.cpp index 653292089c..652e8a4b9a 100644 --- a/indra/newview/llmodelpreview.cpp +++ b/indra/newview/llmodelpreview.cpp @@ -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; // 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; // Remove unused variable if (!validate_face(target_model->getVolumeFace(names[i]))) { diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index 974ab5e80a..b01332f8d6 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -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; // Set but not used + // Set but not used + // bool is_control_avatar = isControlAvatar(); // capture state to simplify tracing + // bool is_attachment = false; - // Set but not used // if (is_control_avatar) // { // LLControlAvatar *cav = dynamic_cast(this);