summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2018-12-24 15:57:04 +0200
committermaxim_productengine <mnikolenko@productengine.com>2018-12-24 15:57:04 +0200
commit0acab8ba2d22e9b0ce0dec1a41813242419e057f (patch)
tree7199567a19d663ba0e5f561b46029614799cad42 /indra
parentb08065dafd0d745516bb522a586af2cc09ea42bc (diff)
SL-10283 Allow changing "Repeats per meter" on face 6 of hollowed cube
Diffstat (limited to 'indra')
-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 c69c059880..27d1bee9bd 100644
--- a/indra/llprimitive/llprimitive.cpp
+++ b/indra/llprimitive/llprimitive.cpp
@@ -1580,7 +1580,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;