*test* back to no sog kills, little retouch on attachment updates,
NameValue AttachItemID is a root part thing onlyavinationmerge
parent
75cbe620c0
commit
6857afe2a4
|
@ -5411,7 +5411,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
|
|
||||||
if (data.ParentGroup.IsAttachment)
|
if (data.ParentGroup.IsAttachment)
|
||||||
{
|
{
|
||||||
if (data.UUID == data.ParentGroup.RootPart.UUID)
|
if (data.IsRoot)
|
||||||
{
|
{
|
||||||
update.NameValue = Util.StringToBytes256("AttachItemID STRING RW SV " + data.ParentGroup.FromItemID);
|
update.NameValue = Util.StringToBytes256("AttachItemID STRING RW SV " + data.ParentGroup.FromItemID);
|
||||||
}
|
}
|
||||||
|
|
|
@ -5982,10 +5982,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
public void SendKillTo(ScenePresence p)
|
public void SendKillTo(ScenePresence p)
|
||||||
{
|
{
|
||||||
List<uint> ids = new List<uint>(m_attachments.Count + 1);
|
List<uint> ids = new List<uint>(m_attachments.Count + 1);
|
||||||
foreach (SceneObjectGroup sog in m_attachments)
|
// foreach (SceneObjectGroup sog in m_attachments)
|
||||||
{
|
// {
|
||||||
ids.Add(sog.RootPart.LocalId);
|
// ids.Add(sog.RootPart.LocalId);
|
||||||
}
|
// }
|
||||||
|
|
||||||
ids.Add(LocalId);
|
ids.Add(LocalId);
|
||||||
p.ControllingClient.SendKillObject(ids);
|
p.ControllingClient.SendKillObject(ids);
|
||||||
|
|
Loading…
Reference in New Issue