public BSLinkset RemoveMeFromLinkset(BSPrimLinkable child, bool inTaintTime)
{
lock (m_linksetActivityLock)
{
if (IsRoot(child))
{
// Cannot remove the root from a linkset.
return this;
}
}
RemoveChildFromLinkset(child, inTaintTime); // this establishes it's own lock
LinksetMass = ComputeLinksetMass();
// The child is down to a linkset of just itself
return BSLinkset.Factory(PhysicsScene, child);
}