diff options
| author | Dave Parks <davep@lindenlab.com> | 2021-09-20 18:58:09 +0000 |
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2021-09-20 18:58:09 +0000 |
| commit | f79890669dcf8e44b5ec3ce1abbd1d1fdd34eb3b (patch) | |
| tree | 749f11a7763fbe38a2ecfc51479db23faecaaf0d /indra/llcharacter/lljoint.cpp | |
| parent | c09532ac13a3ca2f1ca0854cf00594a26ddcb593 (diff) | |
SL-16006 and SL-16009 Rigged mesh rendering optimization pass
Diffstat (limited to 'indra/llcharacter/lljoint.cpp')
| -rw-r--r-- | indra/llcharacter/lljoint.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llcharacter/lljoint.cpp b/indra/llcharacter/lljoint.cpp index dee642310e..d72282ab42 100644 --- a/indra/llcharacter/lljoint.cpp +++ b/indra/llcharacter/lljoint.cpp @@ -922,6 +922,13 @@ const LLMatrix4 &LLJoint::getWorldMatrix() return mXform.getWorldMatrix(); } +const LLMatrix4a& LLJoint::getWorldMatrix4a() +{ + updateWorldMatrixParent(); + + return mWorldMatrix; +} + //-------------------------------------------------------------------- // setWorldMatrix() @@ -1003,6 +1010,7 @@ void LLJoint::updateWorldMatrix() { sNumUpdates++; mXform.updateMatrix(FALSE); + mWorldMatrix.loadu(mXform.getWorldMatrix()); mDirtyFlags = 0x0; } } |
