Skip to content
Snippets Groups Projects
Commit 4a9c53e9 authored by Oz Linden's avatar Oz Linden
Browse files

merge changes for MAINT-2247

parents 493e3a24 23336fee
Branches
Tags
No related merge requests found
...@@ -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
...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment