diff options
author | Dave Parks <davep@lindenlab.com> | 2013-06-03 22:42:26 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2013-06-03 22:42:26 -0500 |
commit | 82bd96a61cb82f75dbb35b1a5e1d9e12eeeffc68 (patch) | |
tree | 8e557411ca175b780f524e306faaa9db8d35510c /indra/newview | |
parent | f3036451564a00da5af4935ca59d22103ba46066 (diff) |
NORSPEC-229 Fix for linux build.
Diffstat (limited to 'indra/newview')
-rwxr-xr-x | indra/newview/pipeline.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index bed53093ce..c144a07512 100755 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -6951,10 +6951,18 @@ LLViewerObject* LLPipeline::lineSegmentIntersectInWorld(const LLVector4a& start, { local_tangent = *tangent; } + else + { + local_tangent.clear(); + } if (normal) { local_normal = *normal; } + else + { + local_normal.clear(); + } const F32 ATTACHMENT_OVERRIDE_DIST = 0.1f; |