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

SL-763 - added some additional logging related to animation playback speed

parent 22c8efc2
No related branches found
No related tags found
No related merge requests found
...@@ -150,10 +150,13 @@ class LLMotionController ...@@ -150,10 +150,13 @@ class LLMotionController
BOOL isPaused() const { return mPaused; } BOOL isPaused() const { return mPaused; }
void setTimeStep(F32 step); void setTimeStep(F32 step);
F32 getTimeStep() const { return mTimeStep; }
void setTimeFactor(F32 time_factor); void setTimeFactor(F32 time_factor);
F32 getTimeFactor() const { return mTimeFactor; } F32 getTimeFactor() const { return mTimeFactor; }
F32 getAnimTime() const { return mAnimTime; }
motion_list_t& getActiveMotions() { return mActiveMotions; } motion_list_t& getActiveMotions() { return mActiveMotions; }
void incMotionCounts(S32& num_motions, S32& num_loading_motions, S32& num_loaded_motions, S32& num_active_motions, S32& num_deprecated_motions); void incMotionCounts(S32& num_motions, S32& num_loading_motions, S32& num_loaded_motions, S32& num_active_motions, S32& num_deprecated_motions);
......
...@@ -248,6 +248,10 @@ void LLControlAvatar::updateDebugText() ...@@ -248,6 +248,10 @@ void LLControlAvatar::updateDebugText()
} }
#endif #endif
addDebugText(llformat("anim time %.1f (step %f factor %f)",
mMotionController.getAnimTime(),
mMotionController.getTimeStep(),
mMotionController.getTimeFactor()));
} }
LLVOAvatar::updateDebugText(); LLVOAvatar::updateDebugText();
......
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