diff options
author | MW | 2007-08-14 17:29:15 +0000 |
---|---|---|
committer | MW | 2007-08-14 17:29:15 +0000 |
commit | 181a90967ee9084676f84e74b2393855218c5723 (patch) | |
tree | 7eee2ef5dba2b95827e2849a8981075786cb5cc3 /OpenSim/Region/Communications | |
parent | Correct caps of Default.lsl for Linux. Thanks again krinkec. :) (diff) | |
download | opensim-SC-181a90967ee9084676f84e74b2393855218c5723.zip opensim-SC-181a90967ee9084676f84e74b2393855218c5723.tar.gz opensim-SC-181a90967ee9084676f84e74b2393855218c5723.tar.bz2 opensim-SC-181a90967ee9084676f84e74b2393855218c5723.tar.xz |
Start of inventory items, when you upload a texture the data will now be stored in the inventory database and you will still have that texture in inventory on later logins (Again only in standalone mode with authentication.)
Also there might be some problems if you upload textures in other regions to the start one (due to us not updating the CAPS url properly).
Diffstat (limited to 'OpenSim/Region/Communications')
-rw-r--r-- | OpenSim/Region/Communications/Local/LocalInventoryService.cs | 11 | ||||
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs | 5 |
2 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Region/Communications/Local/LocalInventoryService.cs b/OpenSim/Region/Communications/Local/LocalInventoryService.cs index 6ba024a..8295cfa 100644 --- a/OpenSim/Region/Communications/Local/LocalInventoryService.cs +++ b/OpenSim/Region/Communications/Local/LocalInventoryService.cs | |||
@@ -43,6 +43,12 @@ namespace OpenSim.Region.Communications.Local | |||
43 | { | 43 | { |
44 | InventoryFolder newfolder = new InventoryFolder(folder); | 44 | InventoryFolder newfolder = new InventoryFolder(folder); |
45 | folderCallBack(userID, newfolder); | 45 | folderCallBack(userID, newfolder); |
46 | |||
47 | List<InventoryItemBase> items = this.RequestFolderItems(newfolder.folderID); | ||
48 | foreach (InventoryItemBase item in items) | ||
49 | { | ||
50 | itemCallBack(userID, item); | ||
51 | } | ||
46 | } | 52 | } |
47 | } | 53 | } |
48 | } | 54 | } |
@@ -52,5 +58,10 @@ namespace OpenSim.Region.Communications.Local | |||
52 | { | 58 | { |
53 | this.AddFolder(folder); | 59 | this.AddFolder(folder); |
54 | } | 60 | } |
61 | |||
62 | public void AddNewInventoryItem(LLUUID userID, InventoryItemBase item) | ||
63 | { | ||
64 | this.AddItem(item); | ||
65 | } | ||
55 | } | 66 | } |
56 | } | 67 | } |
diff --git a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs index e8355c6..a98684e 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs | |||
@@ -24,5 +24,10 @@ namespace OpenSim.Region.Communications.OGS1 | |||
24 | { | 24 | { |
25 | 25 | ||
26 | } | 26 | } |
27 | |||
28 | public void AddNewInventoryItem(LLUUID userID, InventoryItemBase item) | ||
29 | { | ||
30 | |||
31 | } | ||
27 | } | 32 | } |
28 | } | 33 | } |