diff options
author | Dave Parks <davep@lindenlab.com> | 2010-06-04 12:07:55 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-06-04 12:07:55 -0500 |
commit | a8f0e47fd5deee1e45b4126ee43955a7bc68bb5d (patch) | |
tree | a8c0e6eb02a796086a0d52bbb3d4473d4d98772d /indra/llmath/llvolume.cpp | |
parent | ca1caeb1deedd1b8e59a90223153ca6f05914b95 (diff) |
Normal debug display and fix for bad bump mapping and planar texture coordinates.
Diffstat (limited to 'indra/llmath/llvolume.cpp')
-rw-r--r-- | indra/llmath/llvolume.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llmath/llvolume.cpp b/indra/llmath/llvolume.cpp index 72833c019f..8cb9475994 100644 --- a/indra/llmath/llvolume.cpp +++ b/indra/llmath/llvolume.cpp @@ -6076,6 +6076,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(); } } } |