From 47b59d146bf29415d8b5e1ab38385bcf73fef6aa Mon Sep 17 00:00:00 2001 From: Apelsin Date: Fri, 2 Aug 2013 00:11:22 -0700 Subject: [PATCH] LLVOVolume::getApproximateFaceNormal bug fix --- indra/newview/llvovolume.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index 80f9dd3e5..947ae0138 100644 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -2074,7 +2074,7 @@ LLVector3 LLVOVolume::getApproximateFaceNormal(U8 face_id) result.add(face.mNormals[i]); } - LLVector3 ret(result.getF32ptr()); + ret = LLVector3(result.getF32ptr()); ret = volumeDirectionToAgent(ret); ret.normVec(); }