Sunshine catchup.
This commit is contained in:
@@ -547,9 +547,12 @@ F32 LLDrawable::updateXform(BOOL undamped)
|
||||
}
|
||||
else
|
||||
{
|
||||
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);
|
||||
// The following fixes MAINT-1742 but breaks vehicles similar to MAINT-2275
|
||||
// dist_squared = dist_vec_squared(old_pos, target_pos);
|
||||
|
||||
// The following fixes MAINT-2247 but causes MAINT-2275
|
||||
//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;
|
||||
|
||||
Reference in New Issue
Block a user