mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
Added option (on my default) to the clone avatar function so that the clothes and attachments that the target avatar is wearing, to begin with, are removed. So the end result isn't a merger of those clothes/attachments and the ones the template avatar is wearing.
Added IPAddress ListenIPAddress property to BaseHttpServer so that the listening/binding IP can be set.
This commit is contained in:
@@ -242,6 +242,15 @@ namespace OpenSim.Framework
|
||||
m_wearables[PANTS].ItemID = PANTS_ITEM;
|
||||
}
|
||||
|
||||
public virtual void ClearWearables()
|
||||
{
|
||||
for (int i = 0; i < 13; i++)
|
||||
{
|
||||
m_wearables[i].AssetID = UUID.Zero;
|
||||
m_wearables[i].ItemID = UUID.Zero;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual void SetDefaultParams(byte[] vparams)
|
||||
{
|
||||
// TODO: Figure out better values then 'fat scientist 150' or 'alien 0'
|
||||
@@ -583,6 +592,11 @@ namespace OpenSim.Framework
|
||||
m_attachments.Remove(attachpoint);
|
||||
}
|
||||
|
||||
public void ClearAttachments()
|
||||
{
|
||||
m_attachments.Clear();
|
||||
}
|
||||
|
||||
string GetAttachmentsString()
|
||||
{
|
||||
List<string> strings = new List<string>();
|
||||
|
||||
Reference in New Issue
Block a user