Skip to content

Commit 316f0f0

Browse files
cosmic-lindenbrad-linden
authored andcommitted
#2391: Remove avatar rigging "callstack" logging
1 parent ef916bd commit 316f0f0

13 files changed

+0
-339
lines changed

indra/llappearance/llpolyskeletaldistortion.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
#include "llpolymorph.h"
3535
#include "llwearable.h"
3636
#include "llfasttimer.h"
37-
#include "llcallstack.h"
3837

3938
#include "llpolyskeletaldistortion.h"
4039

@@ -204,11 +203,6 @@ void LLPolySkeletalDistortion::apply( ESex avatar_sex )
204203
// needed?
205204
// joint->storeScaleForReset( newScale );
206205

207-
// BENTO for detailed stack tracing of params.
208-
std::stringstream ostr;
209-
ostr << "LLPolySkeletalDistortion::apply, id " << getID() << " " << getName() << " effective wt " << effective_weight << " last wt " << mLastWeight << " scaleDelta " << scaleDelta << " offset " << offset;
210-
LLScopedContextString str(ostr.str());
211-
212206
joint->setScale(newScale, true);
213207
}
214208

indra/llcharacter/lljoint.cpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
#include "lljoint.h"
3333

3434
#include "llmath.h"
35-
#include "llcallstack.h"
3635
#include <boost/algorithm/string.hpp>
3736

3837
S32 LLJoint::sNumUpdates = 0;
@@ -342,20 +341,14 @@ void LLJoint::setPosition( const LLVector3& requested_pos, bool apply_attachment
342341
{
343342
if (pos != active_override && do_debug_joint(getName()))
344343
{
345-
LLScopedContextString str("setPosition");
346344
LL_DEBUGS("Avatar") << " joint " << getName() << " requested_pos " << requested_pos
347345
<< " overriden by attachment " << active_override << LL_ENDL;
348346
}
349347
pos = active_override;
350348
}
351349
if ((pos != getPosition()) && do_debug_joint(getName()))
352350
{
353-
LLScopedContextString str("setPosition");
354-
LLCallStack cs;
355-
LLContextStatus con_status;
356351
LL_DEBUGS("Avatar") << " joint " << getName() << " set pos " << pos << LL_ENDL;
357-
LL_DEBUGS("Avatar") << "CONTEXT:\n" << "====================\n" << con_status << "====================" << LL_ENDL;
358-
LL_DEBUGS("Avatar") << "STACK:\n" << "====================\n" << cs << "====================" << LL_ENDL;
359352
}
360353
if (pos != getPosition())
361354
{
@@ -879,20 +872,14 @@ void LLJoint::setScale( const LLVector3& requested_scale, bool apply_attachment_
879872
{
880873
if (scale != active_override && do_debug_joint(getName()))
881874
{
882-
LLScopedContextString str("setScale");
883875
LL_DEBUGS("Avatar") << " joint " << getName() << " requested_scale " << requested_scale
884876
<< " overriden by attachment " << active_override << LL_ENDL;
885877
}
886878
scale = active_override;
887879
}
888880
if ((mXform.getScale() != scale) && do_debug_joint(getName()))
889881
{
890-
LLScopedContextString str("setScale");
891-
LLCallStack cs;
892-
LLContextStatus con_status;
893882
LL_DEBUGS("Avatar") << " joint " << getName() << " set scale " << scale << LL_ENDL;
894-
LL_DEBUGS("Avatar") << "CONTEXT:\n" << "====================\n" << con_status << LL_ENDL;
895-
LL_DEBUGS("Avatar") << "STACK:\n" << "====================\n" << cs << "====================" << LL_ENDL;
896883
}
897884
mXform.setScale(scale);
898885
touch();

indra/llcommon/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ set(llcommon_SOURCE_FILES
2626
llbase64.cpp
2727
llbitpack.cpp
2828
llcallbacklist.cpp
29-
llcallstack.cpp
3029
llcleanup.cpp
3130
llcommon.cpp
3231
llcommonutils.cpp
@@ -134,7 +133,6 @@ set(llcommon_HEADER_FILES
134133
llbitpack.h
135134
llboost.h
136135
llcallbacklist.h
137-
llcallstack.h
138136
llcleanup.h
139137
llcommon.h
140138
llcommonutils.h

indra/llcommon/llcallstack.cpp

Lines changed: 0 additions & 188 deletions
This file was deleted.

indra/llcommon/llcallstack.h

Lines changed: 0 additions & 91 deletions
This file was deleted.

indra/newview/llspatialpartition.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
#include "llspatialpartition.h"
3030

3131
#include "llappviewer.h"
32-
#include "llcallstack.h"
3332
#include "lltexturecache.h"
3433
#include "lltexturefetch.h"
3534
#include "llimageworker.h"

indra/newview/llstartup.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828

2929
#include "llappviewer.h"
3030
#include "llstartup.h"
31-
#include "llcallstack.h"
3231

3332
#if LL_WINDOWS
3433
# include <process.h> // _spawnl()

0 commit comments

Comments
 (0)