cleanup indentation
parent
6dafce9a12
commit
a4ed111de1
|
@ -1087,32 +1087,13 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
|
||||||
UUID newInvItem = UUID.Random();
|
UUID newInvItem = UUID.Random();
|
||||||
InventoryItemBase itembase = new InventoryItemBase(newInvItem, userID)
|
InventoryItemBase itembase = new InventoryItemBase(newInvItem, userID)
|
||||||
{
|
{
|
||||||
AssetID =
|
AssetID = defaultwearable,
|
||||||
defaultwearable,
|
AssetType = (int)FolderType.BodyPart,
|
||||||
AssetType
|
CreatorId = userID.ToString(),
|
||||||
=
|
|
||||||
(int)
|
|
||||||
FolderType
|
|
||||||
.BodyPart,
|
|
||||||
CreatorId
|
|
||||||
=
|
|
||||||
userID
|
|
||||||
.ToString
|
|
||||||
(),
|
|
||||||
//InvType = (int)InventoryType.Wearable,
|
//InvType = (int)InventoryType.Wearable,
|
||||||
|
Description = "Failed Wearable Replacement",
|
||||||
Description
|
Folder = invService.GetFolderForType(userID, FolderType.BodyPart).ID,
|
||||||
=
|
Flags = (uint) type, Name = Enum.GetName(typeof (WearableType), type),
|
||||||
"Failed Wearable Replacement",
|
|
||||||
Folder =
|
|
||||||
invService
|
|
||||||
.GetFolderForType
|
|
||||||
(userID,
|
|
||||||
FolderType
|
|
||||||
.BodyPart)
|
|
||||||
.ID,
|
|
||||||
Flags = (uint) type,
|
|
||||||
Name = Enum.GetName(typeof (WearableType), type),
|
|
||||||
BasePermissions = (uint) PermissionMask.Copy,
|
BasePermissions = (uint) PermissionMask.Copy,
|
||||||
CurrentPermissions = (uint) PermissionMask.Copy,
|
CurrentPermissions = (uint) PermissionMask.Copy,
|
||||||
EveryOnePermissions = (uint) PermissionMask.Copy,
|
EveryOnePermissions = (uint) PermissionMask.Copy,
|
||||||
|
@ -1123,30 +1104,12 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
|
||||||
UUID LinkInvItem = UUID.Random();
|
UUID LinkInvItem = UUID.Random();
|
||||||
itembase = new InventoryItemBase(LinkInvItem, userID)
|
itembase = new InventoryItemBase(LinkInvItem, userID)
|
||||||
{
|
{
|
||||||
AssetID =
|
AssetID = newInvItem,
|
||||||
newInvItem,
|
AssetType = (int)AssetType.Link,
|
||||||
AssetType
|
CreatorId = userID.ToString(),
|
||||||
=
|
|
||||||
(int)
|
|
||||||
AssetType
|
|
||||||
.Link,
|
|
||||||
CreatorId
|
|
||||||
=
|
|
||||||
userID
|
|
||||||
.ToString
|
|
||||||
(),
|
|
||||||
InvType = (int) InventoryType.Wearable,
|
InvType = (int) InventoryType.Wearable,
|
||||||
|
Description = "Failed Wearable Replacement",
|
||||||
Description
|
Folder = invService.GetFolderForType(userID, FolderType.CurrentOutfit).ID,
|
||||||
=
|
|
||||||
"Failed Wearable Replacement",
|
|
||||||
Folder =
|
|
||||||
invService
|
|
||||||
.GetFolderForType
|
|
||||||
(userID,
|
|
||||||
FolderType
|
|
||||||
.CurrentOutfit)
|
|
||||||
.ID,
|
|
||||||
Flags = (uint) type,
|
Flags = (uint) type,
|
||||||
Name = Enum.GetName(typeof (WearableType), type),
|
Name = Enum.GetName(typeof (WearableType), type),
|
||||||
BasePermissions = (uint) PermissionMask.Copy,
|
BasePermissions = (uint) PermissionMask.Copy,
|
||||||
|
@ -1161,10 +1124,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
|
||||||
if (m_scene.TryGetScenePresence(userID, out presence))
|
if (m_scene.TryGetScenePresence(userID, out presence))
|
||||||
{
|
{
|
||||||
m_scene.SendInventoryUpdate(presence.ControllingClient,
|
m_scene.SendInventoryUpdate(presence.ControllingClient,
|
||||||
invService.GetFolderForType(userID,
|
invService.GetFolderForType(userID, FolderType.CurrentOutfit), false, true);
|
||||||
FolderType
|
|
||||||
.CurrentOutfit),
|
|
||||||
false, true);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue