diff options
| author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2022-11-22 23:11:29 +0200 |
|---|---|---|
| committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2022-11-22 23:12:05 +0200 |
| commit | de0317cc3f5f42ccf51a7bbfdd04e8b16d51e811 (patch) | |
| tree | 36b368602ac3aa1bdf9df97a0fb65c92767f457f /indra/newview/llskinningutil.cpp | |
| parent | daa1257466ee3cf000e2c94ef05259577ea513b4 (diff) | |
| parent | 395a60a83e954e9bcbb44dc6f1a49319b2d628b7 (diff) | |
Merge branch 'DRTVWR-568' into DRTVWR-539
Diffstat (limited to 'indra/newview/llskinningutil.cpp')
| -rw-r--r-- | indra/newview/llskinningutil.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llskinningutil.cpp b/indra/newview/llskinningutil.cpp index cf3519c1c7..8bdccfd9f6 100644 --- a/indra/newview/llskinningutil.cpp +++ b/indra/newview/llskinningutil.cpp @@ -264,6 +264,9 @@ void LLSkinningUtil::getPerVertexSkinMatrix( // SL-366 - with weight validation/cleanup code, it should no longer be // possible to hit the bad scale case. llassert(valid_weights); + // When building for Release, the above llassert() goes away. Ward off + // variable-set-but-unused error. + (void)valid_weights; } void LLSkinningUtil::initJointNums(LLMeshSkinInfo* skin, LLVOAvatar *avatar) |
