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

MAINT-7926, MAINT-8400 - minor edits

parent 9be476e3
No related branches found
No related tags found
No related merge requests found
...@@ -245,10 +245,10 @@ void LLSkinningUtil::updateRiggingInfo(const LLMeshSkinInfo* skin, LLVOAvatar *a ...@@ -245,10 +245,10 @@ void LLSkinningUtil::updateRiggingInfo(const LLMeshSkinInfo* skin, LLVOAvatar *a
LLVector4 wght; LLVector4 wght;
S32 idx[4]; S32 idx[4];
F32 scale = 0.0f; F32 scale = 0.0f;
// AXON unpacking of weights should be pulled into a common function and optimized if possible.
for (U32 k = 0; k < 4; k++) for (U32 k = 0; k < 4; k++)
{ {
F32 w = weights[k]; F32 w = weights[k];
idx[k] = llclamp((S32) floorf(w), (S32)0, (S32)LL_CHARACTER_MAX_ANIMATED_JOINTS-1); idx[k] = llclamp((S32) floorf(w), (S32)0, (S32)LL_CHARACTER_MAX_ANIMATED_JOINTS-1);
wght[k] = w - idx[k]; wght[k] = w - idx[k];
scale += wght[k]; scale += wght[k];
...@@ -269,8 +269,6 @@ void LLSkinningUtil::updateRiggingInfo(const LLMeshSkinInfo* skin, LLVOAvatar *a ...@@ -269,8 +269,6 @@ void LLSkinningUtil::updateRiggingInfo(const LLMeshSkinInfo* skin, LLVOAvatar *a
if (joint_num >= 0 && joint_num < LL_CHARACTER_MAX_ANIMATED_JOINTS) if (joint_num >= 0 && joint_num < LL_CHARACTER_MAX_ANIMATED_JOINTS)
{ {
rig_info_tab[joint_num].setIsRiggedTo(true); rig_info_tab[joint_num].setIsRiggedTo(true);
//active_joints.insert(joint_num);
//active_verts++;
// AXON can precompute these matMuls. // AXON can precompute these matMuls.
LLMatrix4a bind_shape; LLMatrix4a bind_shape;
......
...@@ -108,10 +108,6 @@ static LLTrace::BlockTimerStatHandle FTM_VOLUME_TEXTURES("Volume Textures"); ...@@ -108,10 +108,6 @@ static LLTrace::BlockTimerStatHandle FTM_VOLUME_TEXTURES("Volume Textures");
extern BOOL gGLDebugLoggingEnabled; extern BOOL gGLDebugLoggingEnabled;
#if LL_MSVC
#pragma optimize("", off)
#endif
// Implementation class of LLMediaDataClientObject. See llmediadataclient.h // Implementation class of LLMediaDataClientObject. See llmediadataclient.h
class LLMediaDataClientObjectImpl : public LLMediaDataClientObject class LLMediaDataClientObjectImpl : public LLMediaDataClientObject
{ {
......
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