Changed XInventoryData's CreatorID to a string.

soprefactor
Diva Canto 2010-06-08 15:52:26 -07:00
parent 9b9804a498
commit 5c0068723f
2 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ namespace OpenSim.Data
public int inventoryNextPermissions; public int inventoryNextPermissions;
public int inventoryCurrentPermissions; public int inventoryCurrentPermissions;
public int invType; public int invType;
public UUID creatorID; public string creatorID;
public int inventoryBasePermissions; public int inventoryBasePermissions;
public int inventoryEveryOnePermissions; public int inventoryEveryOnePermissions;
public int salePrice; public int salePrice;

View File

@ -460,7 +460,7 @@ namespace OpenSim.Services.InventoryService
newItem.ID = item.inventoryID; newItem.ID = item.inventoryID;
newItem.InvType = item.invType; newItem.InvType = item.invType;
newItem.Folder = item.parentFolderID; newItem.Folder = item.parentFolderID;
newItem.CreatorId = item.creatorID.ToString(); newItem.CreatorId = item.creatorID;
newItem.Description = item.inventoryDescription; newItem.Description = item.inventoryDescription;
newItem.NextPermissions = (uint)item.inventoryNextPermissions; newItem.NextPermissions = (uint)item.inventoryNextPermissions;
newItem.CurrentPermissions = (uint)item.inventoryCurrentPermissions; newItem.CurrentPermissions = (uint)item.inventoryCurrentPermissions;
@ -491,7 +491,7 @@ namespace OpenSim.Services.InventoryService
newItem.inventoryID = item.ID; newItem.inventoryID = item.ID;
newItem.invType = item.InvType; newItem.invType = item.InvType;
newItem.parentFolderID = item.Folder; newItem.parentFolderID = item.Folder;
newItem.creatorID = item.CreatorIdAsUuid; newItem.creatorID = item.CreatorId;
newItem.inventoryDescription = item.Description; newItem.inventoryDescription = item.Description;
newItem.inventoryNextPermissions = (int)item.NextPermissions; newItem.inventoryNextPermissions = (int)item.NextPermissions;
newItem.inventoryCurrentPermissions = (int)item.CurrentPermissions; newItem.inventoryCurrentPermissions = (int)item.CurrentPermissions;