cleanup indentation

LSLKeyTest
UbitUmarov 2015-11-18 17:45:56 +00:00
parent 6dafce9a12
commit a4ed111de1
1 changed files with 30 additions and 70 deletions

View File

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