summaryrefslogtreecommitdiff
path: root/indra/llprimitive/llprimitive.cpp
diff options
context:
space:
mode:
authorAnchor <none@none>2019-05-10 12:22:29 -0600
committerAnchor <none@none>2019-05-10 12:22:29 -0600
commit504a138cb147f6a01573c7c6453a411c330e5f73 (patch)
tree5a89d6ff115263c9e0764f94122a86dee099b718 /indra/llprimitive/llprimitive.cpp
parentf9f129f93d8eab94e58ff2229a13d68bee23f959 (diff)
parent34322f8f37380df868703051230f2a4109602b3f (diff)
Merge
Diffstat (limited to 'indra/llprimitive/llprimitive.cpp')
-rw-r--r--indra/llprimitive/llprimitive.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llprimitive/llprimitive.cpp b/indra/llprimitive/llprimitive.cpp
index c025023343..a0987b35d8 100644
--- a/indra/llprimitive/llprimitive.cpp
+++ b/indra/llprimitive/llprimitive.cpp
@@ -1597,7 +1597,7 @@ bool LLPrimitive::getTESTAxes(const U8 face, U32* s_axis, U32* t_axis)
*s_axis = VY; *t_axis = VZ;
return true;
}
- else if (face == 5)
+ else if (face >= 5)
{
*s_axis = VX; *t_axis = VY;
return true;