From ffb8b78ae9b0c0f4be8ac262054681ed11726993 Mon Sep 17 00:00:00 2001 From: JonathanLinden Date: Wed, 3 Nov 2010 17:11:08 -0700 Subject: Reverting fix for SH-391 until it works for all use cases --- indra/llmath/llvolume.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/llmath/llvolume.cpp') diff --git a/indra/llmath/llvolume.cpp b/indra/llmath/llvolume.cpp index a129182f01..9fe4c622d7 100644 --- a/indra/llmath/llvolume.cpp +++ b/indra/llmath/llvolume.cpp @@ -2593,7 +2593,7 @@ S32 LLVolume::getNumFaces() const if (sculpt_type == LL_SCULPT_TYPE_MESH) { - return llmax((S32)mVolumeFaces.size(), 1); + return LL_SCULPT_MESH_MAX_FACES; } return (S32)mProfilep->mFaces.size(); -- cgit v1.2.3