MAINT-2275 Child prims are "left behind" by animated, moving (physical) linksets

* A fix that doesn't break tanks. Reverts MAINT-1742
meow-7.2.2
Kelly Washington 2013-01-24 15:32:36 -08:00
parent aee0766f35
commit 4d589df2fd
1 changed files with 3 additions and 2 deletions

View File

@ -550,9 +550,10 @@ F32 LLDrawable::updateXform(BOOL undamped)
}
else
{
dist_squared = dist_vec_squared(old_pos, target_pos);
// The following fixes MAINT-1742 but breaks vehicles similar to MAINT-2275
// dist_squared = dist_vec_squared(old_pos, target_pos);
// The following "makes sense" and fixes MAINT-2247 but causes MAINT-2275
// 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);
}