summaryrefslogtreecommitdiff
path: root/indra/llmath/llvolume.cpp
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2013-09-25 13:16:31 -0700
committerGraham Linden <graham@lindenlab.com>2013-09-25 13:16:31 -0700
commitd31010512154ef1806281552f639e492bdde7fcd (patch)
tree951ba65ec940f5bec236855490380cd43e74ebe7 /indra/llmath/llvolume.cpp
parent089081dc802a8efb41d3eda7b2eec6f9637f1c4b (diff)
parent571920c7b4fb8966088e769c630cda3c149c4e39 (diff)
Merge recent viewer-bear fixes that missed the boat
Diffstat (limited to 'indra/llmath/llvolume.cpp')
-rwxr-xr-xindra/llmath/llvolume.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/llmath/llvolume.cpp b/indra/llmath/llvolume.cpp
index de960e5d95..2b865b4a8e 100755
--- a/indra/llmath/llvolume.cpp
+++ b/indra/llmath/llvolume.cpp
@@ -4827,13 +4827,15 @@ void LLVolumeFace::optimize(F32 angle_cutoff)
if (angle_cutoff > 1.f && !mNormals)
{
- ll_aligned_free_16(new_face.mNormals);
+ // Now alloc'd with positions
+ //ll_aligned_free_16(new_face.mNormals);
new_face.mNormals = NULL;
}
if (!mTexCoords)
{
- ll_aligned_free_16(new_face.mTexCoords);
+ // Now alloc'd with positions
+ //ll_aligned_free_16(new_face.mTexCoords);
new_face.mTexCoords = NULL;
}