add LinksetData support. Untested and still does not store in dbs. Not as spec. See mantis 9081 (runprebuild)

This commit is contained in:
UbitUmarov
2024-02-06 23:45:11 +00:00
parent 00e9e3c77a
commit 2e26b8a8bb
12 changed files with 621 additions and 95 deletions

View File

@@ -618,6 +618,7 @@ namespace OpenSim.Region.Framework.Scenes
public uint ParentID;
}
public LinksetData LinksetData;
public bool inTransit = false;
private delegate SceneObjectGroup SOGCrossDelegate(SceneObjectGroup sog,Vector3 pos, TeleportObjectData tpData);
@@ -3195,6 +3196,13 @@ namespace OpenSim.Region.Framework.Scenes
}
}
if(objectGroup.LinksetData is not null)
{
LinksetData ??= new LinksetData(m_scene.m_LinkSetDataLimit);
LinksetData.MergeOther(objectGroup.LinksetData);
objectGroup.LinksetData = null;
}
// 'linkPart' == the root of the group being linked into this group
SceneObjectPart linkPart = objectGroup.m_rootPart;