Skip to content
Snippets Groups Projects
Commit 2ea750eb authored by Graham Madarasz (Graham)'s avatar Graham Madarasz (Graham)
Browse files

For MAINT-2247 MAINT-1742 MAINT-2275 contrib from STORM-1934.

parent f352c81f
No related branches found
No related tags found
No related merge requests found
......@@ -748,6 +748,7 @@ Marine Kelley
MartinRJ Fayray
STORM-1844
STORM-1845
STORM-1934
Matthew Anthony
Matthew Dowd
VWR-1344
......
......@@ -577,6 +577,12 @@ F32 LLDrawable::updateXform(BOOL undamped)
mVObjp->dirtySpatialGroup();
}
}
else if (!isRoot() &&
((dist_vec_squared(old_pos, target_pos) > 0.f)
|| (1.f - dot(old_rot, target_rot)) > 0.f))
{ //fix for BUG-840, MAINT-2275, MAINT-1742, MAINT-2247
gPipeline.markRebuild(this, LLDrawable::REBUILD_POSITION, TRUE);
}
else if (!getVOVolume() && !isAvatar())
{
movePartition();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment