diff options
author | Jeff Ames | 2008-05-28 03:44:49 +0000 |
---|---|---|
committer | Jeff Ames | 2008-05-28 03:44:49 +0000 |
commit | 5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4 (patch) | |
tree | ea980f49f1a6bb40ba037a87581a3d741c3d3c56 /OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |
parent | Thank you kindly, Melanie for a patch that: (diff) | |
download | opensim-SC_OLD-5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4.zip opensim-SC_OLD-5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4.tar.gz opensim-SC_OLD-5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4.tar.bz2 opensim-SC_OLD-5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4.tar.xz |
Formatting cleanup.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index 5e7fd98..f5cb0b9 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |||
@@ -62,7 +62,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
62 | public void AddUploadedInventoryItem(LLUUID agentID, InventoryItemBase item) | 62 | public void AddUploadedInventoryItem(LLUUID agentID, InventoryItemBase item) |
63 | { | 63 | { |
64 | IMoneyModule money=RequestModuleInterface<IMoneyModule>(); | 64 | IMoneyModule money=RequestModuleInterface<IMoneyModule>(); |
65 | if(money != null) | 65 | if (money != null) |
66 | { | 66 | { |
67 | money.ApplyUploadCharge(agentID); | 67 | money.ApplyUploadCharge(agentID); |
68 | } | 68 | } |
@@ -930,7 +930,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
930 | if (part != null) | 930 | if (part != null) |
931 | { | 931 | { |
932 | TaskInventoryItem currentItem=part.GetInventoryItem(itemID); | 932 | TaskInventoryItem currentItem=part.GetInventoryItem(itemID); |
933 | if(currentItem == null) | 933 | if (currentItem == null) |
934 | { | 934 | { |
935 | LLUUID copyID = LLUUID.Random(); | 935 | LLUUID copyID = LLUUID.Random(); |
936 | if (itemID != LLUUID.Zero) | 936 | if (itemID != LLUUID.Zero) |
@@ -972,9 +972,9 @@ namespace OpenSim.Region.Environment.Scenes | |||
972 | } | 972 | } |
973 | else // Updating existing item with new perms etc | 973 | else // Updating existing item with new perms etc |
974 | { | 974 | { |
975 | TaskInventoryItem prevItem=part.GetInventoryItem(itemID); | 975 | TaskInventoryItem prevItem=part.GetInventoryItem(itemID); |
976 | itemInfo.AssetID = prevItem.AssetID; | 976 | itemInfo.AssetID = prevItem.AssetID; |
977 | if(part.UpdateInventoryItem(itemInfo)) | 977 | if (part.UpdateInventoryItem(itemInfo)) |
978 | part.GetProperties(remoteClient); | 978 | part.GetProperties(remoteClient); |
979 | } | 979 | } |
980 | } | 980 | } |