diff --git a/indra/newview/llcontrolavatar.cpp b/indra/newview/llcontrolavatar.cpp
index ed63414849bd8caa4e16f2792d4d0469c5dea5e4..1eeeaa42ea956cd638835432ae9b949d56e24ffe 100644
--- a/indra/newview/llcontrolavatar.cpp
+++ b/indra/newview/llcontrolavatar.cpp
@@ -124,6 +124,10 @@ void LLControlAvatar::getNewConstraintFixups(LLVector3& new_pos_fixup, F32& new_
 			{
 				LL_DEBUGS("ConstraintFix") << getFullname() << " pos fix, offset_dist " << offset_dist << " pos fixup " 
 										   << new_pos_fixup << " was " << mPositionConstraintFixup << LL_ENDL;
+				LL_DEBUGS("ConstraintFix") << "vol_pos " << vol_pos << LL_ENDL;
+				LL_DEBUGS("ConstraintFix") << "extents " << extents[0] << " " << extents[1] << LL_ENDL;
+				LL_DEBUGS("ConstraintFix") << "unshift_extents " << unshift_extents[0] << " " << unshift_extents[1] << LL_ENDL;
+				
 			}
 		}
         if (box_size/mScaleConstraintFixup > max_legal_size)
diff --git a/indra/newview/llmeshrepository.h b/indra/newview/llmeshrepository.h
index 19d4ff617e2d75606fd3f9e4b09924779249c833..bba0c9f2cb1542b56f5cbf326089407a468e0bf9 100644
--- a/indra/newview/llmeshrepository.h
+++ b/indra/newview/llmeshrepository.h
@@ -535,13 +535,6 @@ class LLMeshCostData
 
     // Estimated triangle counts derived from the LOD sizes. LOD 0=lowest, 3=highest.
     std::vector<F32> mEstTrisByLOD;
-
-    // Estimated triangle counts for the largest LOD. Typically this
-    // is also the "high" LOD, but not necessarily.
-    F32 mEstTrisMax;
-
-    // Sum of all LOD sizes.
-    S32 mSizeTotal;
 };
 
 class LLMeshRepository