summaryrefslogtreecommitdiff
path: root/indra/llmath/llvolume.cpp
diff options
context:
space:
mode:
authorJonathanLinden <none@none>2010-11-03 17:11:08 -0700
committerJonathanLinden <none@none>2010-11-03 17:11:08 -0700
commitffb8b78ae9b0c0f4be8ac262054681ed11726993 (patch)
tree66dce7c7c57715fdb779257c32424c64ed4924ae /indra/llmath/llvolume.cpp
parent5ca28396126879ed906a5475cd6513dba40c850f (diff)
Reverting fix for SH-391 until it works for all use cases
Diffstat (limited to 'indra/llmath/llvolume.cpp')
-rw-r--r--indra/llmath/llvolume.cpp2
1 files changed, 1 insertions, 1 deletions
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();