diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2016-06-27 08:48:15 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2016-06-27 08:48:15 -0400 |
commit | 7f904fbcbd878b44b2ffe6c919e96c71756eece1 (patch) | |
tree | ca44b9440ebebf4093301c8f7074b12b4bc3f3fa /indra/llappearance/llpolyskeletaldistortion.cpp | |
parent | b649847fe9f693b50b99cb73b7c641660812f5b7 (diff) |
SL-124 - code cleanup
Diffstat (limited to 'indra/llappearance/llpolyskeletaldistortion.cpp')
-rw-r--r-- | indra/llappearance/llpolyskeletaldistortion.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/indra/llappearance/llpolyskeletaldistortion.cpp b/indra/llappearance/llpolyskeletaldistortion.cpp index 8e9b52e974..a427f7c754 100644 --- a/indra/llappearance/llpolyskeletaldistortion.cpp +++ b/indra/llappearance/llpolyskeletaldistortion.cpp @@ -207,12 +207,13 @@ void LLPolySkeletalDistortion::apply( ESex avatar_sex ) LLVector3 offset = (effective_weight - mLastWeight) * scaleDelta; newScale = newScale + offset; //An aspect of attached mesh objects (which contain joint offsets) that need to be cleaned up when detached - // needed? // joint->storeScaleForReset( newScale ); + // needed? + // joint->storeScaleForReset( newScale ); - // BENTO debugging stuff can be pulled. - std::stringstream ostr; - ostr << "LLPolySkeletalDistortion::apply, id " << getID() << " " << getName() << " effective wt " << effective_weight << " last wt " << mLastWeight << " scaleDelta " << scaleDelta << " offset " << offset; - LLScopedContextString str(ostr.str()); + // BENTO for detailed stack tracing of params. + //std::stringstream ostr; + //ostr << "LLPolySkeletalDistortion::apply, id " << getID() << " " << getName() << " effective wt " << effective_weight << " last wt " << mLastWeight << " scaleDelta " << scaleDelta << " offset " << offset; + //LLScopedContextString str(ostr.str()); joint->setScale(newScale); } |