summaryrefslogtreecommitdiff
path: root/indra/llmath
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-06-04 12:08:16 -0500
committerDave Parks <davep@lindenlab.com>2010-06-04 12:08:16 -0500
commit9faf00b40f43a7c18afecc4b0f90070e15f8409b (patch)
treecb82c233ba742149dedaa8274d41288a1de61ec7 /indra/llmath
parent83aed5b6b7aae32c48abcbd3a6bead6e2b099f7d (diff)
parenta8f0e47fd5deee1e45b4126ee43955a7bc68bb5d (diff)
merge
Diffstat (limited to 'indra/llmath')
-rw-r--r--indra/llmath/llvolume.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llmath/llvolume.cpp b/indra/llmath/llvolume.cpp
index ce7e20e9b4..09ab47b890 100644
--- a/indra/llmath/llvolume.cpp
+++ b/indra/llmath/llvolume.cpp
@@ -6077,6 +6077,8 @@ void LLVolumeFace::createBinormals()
for (U32 i = 0; i < mNumVertices; i++)
{
binorm[i].normalize3fast();
+ //bump map/planar projection code requires normals to be normalized
+ mNormals[i].normalize3fast();
}
}
}