From 24cb0445c5631505c0eb7efdbec62c2dff02f4ba Mon Sep 17 00:00:00 2001 From: November Date: Thu, 14 Oct 2010 16:25:14 -0700 Subject: [PATCH] Revert "Should fix issues rezzing oblong sculpties." This reverts commit 5a80be37fd172299c64c1ae2a902419190ad758e. --- indra/newview/llface.cpp | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index 392ad9fa8..3d93dd4d2 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -1269,18 +1269,10 @@ F32 LLFace::getTextureVirtualSize() } F32 face_area; - if (mVObjp->isSculpted()) + if (mVObjp->isSculpted() && texel_area > 1.f) { //sculpts can break assumptions about texel area - if (texel_area > 1.f) - { - face_area = mPixelArea; - } - else - { - face_area = mPixelArea / llclamp(texel_area, 0.015625f, 128.f); - } - + face_area = mPixelArea; } else {