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
4a9c53e9
Commit
4a9c53e9
authored
12 years ago
by
Oz Linden
Browse files
Options
Downloads
Plain Diff
merge changes for MAINT-2247
parents
493e3a24
23336fee
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.hgtags
+1
-0
1 addition, 0 deletions
.hgtags
indra/newview/lldrawable.cpp
+2
-0
2 additions, 0 deletions
indra/newview/lldrawable.cpp
with
3 additions
and
0 deletions
.hgtags
+
1
−
0
View file @
4a9c53e9
...
@@ -407,3 +407,4 @@ c296133849d1f103c0e2abc41e6599daed00b67b DRTVWR-280
...
@@ -407,3 +407,4 @@ c296133849d1f103c0e2abc41e6599daed00b67b DRTVWR-280
6b9c7dbebef793230d64e1b452577c8b142d4143 3.4.5-beta2
6b9c7dbebef793230d64e1b452577c8b142d4143 3.4.5-beta2
37947e4f771f001b551581bf7cd0051c3153beed DRTVWR-282
37947e4f771f001b551581bf7cd0051c3153beed DRTVWR-282
6482cceb91cda68b799f3e6cdc66d33bf123547a DRTVWR-284
6482cceb91cda68b799f3e6cdc66d33bf123547a DRTVWR-284
ccf991e02dc2f63fb646324230d54832683f4a9b DRTVWR-286
This diff is collapsed.
Click to expand it.
indra/newview/lldrawable.cpp
+
2
−
0
View file @
4a9c53e9
...
@@ -550,6 +550,8 @@ F32 LLDrawable::updateXform(BOOL undamped)
...
@@ -550,6 +550,8 @@ F32 LLDrawable::updateXform(BOOL undamped)
else
else
{
{
dist_squared
=
dist_vec_squared
(
old_pos
,
target_pos
);
dist_squared
=
dist_vec_squared
(
old_pos
,
target_pos
);
dist_squared
+=
(
1.
f
-
dot
(
old_rot
,
target_rot
))
*
10.
f
;
dist_squared
+=
dist_vec_squared
(
old_scale
,
target_scale
);
}
}
LLVector3
vec
=
mCurrentScale
-
target_scale
;
LLVector3
vec
=
mCurrentScale
-
target_scale
;
...
...
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