Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
1b9e6225
Commit
1b9e6225
authored
7 years ago
by
Brad Payne (Vir Linden)
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/llcharacter/llmotioncontroller.h
+3
-0
3 additions, 0 deletions
indra/llcharacter/llmotioncontroller.h
indra/newview/llcontrolavatar.cpp
+4
-0
4 additions, 0 deletions
indra/newview/llcontrolavatar.cpp
with
7 additions
and
0 deletions
indra/llcharacter/llmotioncontroller.h
+
3
−
0
View file @
1b9e6225
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
indra/newview/llcontrolavatar.cpp
+
4
−
0
View file @
1b9e6225
...
@@ -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
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment