Skip to content
Snippets Groups Projects
Commit 0b5bc866 authored by Brad Payne (Vir Linden)'s avatar Brad Payne (Vir Linden)
Browse files

MAINT-8671 - more bind shape fix

parent e286d174
No related branches found
No related tags found
No related merge requests found
...@@ -150,7 +150,7 @@ void LLControlAvatar::matchVolumeTransform() ...@@ -150,7 +150,7 @@ void LLControlAvatar::matchVolumeTransform()
{ {
len += bind_mat.mMatrix[i][j] * bind_mat.mMatrix[i][j]; len += bind_mat.mMatrix[i][j] * bind_mat.mMatrix[i][j];
} }
if (len >= 0.0f) if (len > 0.0f)
{ {
len = sqrt(len); len = sqrt(len);
for (auto j = 0; j < 3; j++) for (auto j = 0; j < 3; j++)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment