summaryrefslogtreecommitdiff
path: root/indra/llmath
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-06-10 21:47:49 -0500
committerDave Parks <davep@lindenlab.com>2010-06-10 21:47:49 -0500
commit2ff888d2bc7424e70a836adb8ec4cf27df75ab7b (patch)
tree9d99f007fc9cce4d8e4631de424ce6f801c22d90 /indra/llmath
parent9440f84dca48e3e2f6022dbf5f916d6439c7a826 (diff)
Unused variable.
Diffstat (limited to 'indra/llmath')
-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 ba5d5e7ca1..ac3ed5d63e 100644
--- a/indra/llmath/llvolume.cpp
+++ b/indra/llmath/llvolume.cpp
@@ -2544,9 +2544,9 @@ void LLVolume::copyVolumeFaces(LLVolume* volume)
S32 LLVolume::getNumFaces() const
{
+#if LL_MESH_ENABLED
U8 sculpt_type = (mParams.getSculptType() & LL_SCULPT_TYPE_MASK);
-#if LL_MESH_ENABLED
if (sculpt_type == LL_SCULPT_TYPE_MESH)
{
return LL_SCULPT_MESH_MAX_FACES;