Multiattach, part 2
parent
fcecfc81bb
commit
d07943c262
|
@ -311,10 +311,16 @@ namespace OpenSim.Services.Interfaces
|
||||||
if (!Int32.TryParse(pointStr, out point))
|
if (!Int32.TryParse(pointStr, out point))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
UUID uuid = UUID.Zero;
|
List<string> idList = new List<string>(_kvp.Value.Split(new char[] {','}));
|
||||||
UUID.TryParse(_kvp.Value, out uuid);
|
|
||||||
|
|
||||||
appearance.SetAttachment(point, uuid, UUID.Zero);
|
appearance.SetAttachment(point, UUID.Zero, UUID.Zero);
|
||||||
|
foreach (string id in idList)
|
||||||
|
{
|
||||||
|
UUID uuid = UUID.Zero;
|
||||||
|
UUID.TryParse(id, out uuid);
|
||||||
|
|
||||||
|
appearance.SetAttachment(point | 0x80, uuid, UUID.Zero);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (appearance.Wearables[AvatarWearable.BODY].Count == 0)
|
if (appearance.Wearables[AvatarWearable.BODY].Count == 0)
|
||||||
|
|
Loading…
Reference in New Issue