summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2018-07-02 19:56:56 +0100
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2018-07-02 19:56:56 +0100
commit0b5bc866183c7b28aaea93f201e5010b90dd706d (patch)
tree5904c8af6a6673217c6dd732e969f2f636490f02 /indra/newview
parente286d1743d3833e9dd299fd4f5473db686284690 (diff)
MAINT-8671 - more bind shape fix
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llcontrolavatar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llcontrolavatar.cpp b/indra/newview/llcontrolavatar.cpp
index f828ed783e..88152d2dc6 100644
--- a/indra/newview/llcontrolavatar.cpp
+++ b/indra/newview/llcontrolavatar.cpp
@@ -150,7 +150,7 @@ void LLControlAvatar::matchVolumeTransform()
{
len += bind_mat.mMatrix[i][j] * bind_mat.mMatrix[i][j];
}
- if (len >= 0.0f)
+ if (len > 0.0f)
{
len = sqrt(len);
for (auto j = 0; j < 3; j++)