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
54d82496
Commit
54d82496
authored
12 years ago
by
Graham Madarasz
Browse files
Options
Downloads
Patches
Plain Diff
Fix mismerge losing rollback change
parent
2dcc0a99
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/llcharacter/llkeyframewalkmotion.cpp
+1
-1
1 addition, 1 deletion
indra/llcharacter/llkeyframewalkmotion.cpp
with
1 addition
and
1 deletion
indra/llcharacter/llkeyframewalkmotion.cpp
+
1
−
1
View file @
54d82496
...
...
@@ -383,7 +383,7 @@ BOOL LLFlyAdjustMotion::onUpdate(F32 time, U8* joint_mask)
F32
target_roll
=
llclamp
(
ang_vel
.
mV
[
VZ
],
-
4.
f
,
4.
f
)
*
roll_factor
;
// roll is critically damped interpolation between current roll and angular velocity-derived target roll
mRoll
=
lerp
(
mRoll
,
target_roll
,
LLCriticalDamp
::
getInterpolant
(
InterpDeltaSmaller
));
mRoll
=
lerp
(
mRoll
,
target_roll
,
LLCriticalDamp
::
getInterpolant
(
0.1
f
));
LLQuaternion
roll
(
mRoll
,
LLVector3
(
0.
f
,
0.
f
,
1.
f
));
mPelvisState
->
setRotation
(
roll
);
...
...
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