* As yet incomplete fix for mantis #766 - terse updates broken

* Currently, terse updates are back, and extremely rapid linking and delinking will only break occasionally
* More work to do here
This commit is contained in:
Justin Clarke Casey
2008-03-14 16:28:33 +00:00
parent ce9c2ecac8
commit dc84f350a7
3 changed files with 27 additions and 3 deletions

View File

@@ -947,6 +947,9 @@ namespace OpenSim.Region.Environment.Scenes
/// <param name="objectGroup">The group of prims which should be linked to this group</param>
public void LinkToGroup(SceneObjectGroup objectGroup)
{
if (objectGroup.RootPart.UpdateFlag > 0)
return;
SceneObjectPart linkPart = objectGroup.m_rootPart;
Vector3 oldGroupPosition =
@@ -1014,10 +1017,13 @@ namespace OpenSim.Region.Environment.Scenes
/// <param name="partID"></param>
public void DelinkFromGroup(uint partID)
{
if (RootPart.UpdateFlag > 0)
return;
SceneObjectPart linkPart = GetChildPart(partID);
if (null != linkPart)
{
{
LLQuaternion worldRot = linkPart.GetWorldRotation();
// Remove the part from this object