diff options
author | Sean Dague | 2008-04-07 23:27:05 +0000 |
---|---|---|
committer | Sean Dague | 2008-04-07 23:27:05 +0000 |
commit | 5ee75998ce4d941efd937848d28f3a4dac6ba6cc (patch) | |
tree | f29a100cb8ab3715c82f0aec4fee9f968f210405 /OpenSim/Region/Communications/OGS1 | |
parent | Refactor InventoryItemBase to do the following: (diff) | |
download | opensim-SC_OLD-5ee75998ce4d941efd937848d28f3a4dac6ba6cc.zip opensim-SC_OLD-5ee75998ce4d941efd937848d28f3a4dac6ba6cc.tar.gz opensim-SC_OLD-5ee75998ce4d941efd937848d28f3a4dac6ba6cc.tar.bz2 opensim-SC_OLD-5ee75998ce4d941efd937848d28f3a4dac6ba6cc.tar.xz |
more refactoring, this time on InventoryFolderBase
* wrap attributes in properties
* clean up names a little bit
* clean up name styles
Diffstat (limited to 'OpenSim/Region/Communications/OGS1')
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs index ba2e3d7..3a13f71 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs | |||
@@ -107,7 +107,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
107 | InventoryRequest request = m_RequestingInventory[userID]; | 107 | InventoryRequest request = m_RequestingInventory[userID]; |
108 | foreach (InventoryFolderBase folder in response.Folders) | 108 | foreach (InventoryFolderBase folder in response.Folders) |
109 | { | 109 | { |
110 | if (folder.parentID == LLUUID.Zero) | 110 | if (folder.ParentID == LLUUID.Zero) |
111 | { | 111 | { |
112 | InventoryFolderImpl newfolder = new InventoryFolderImpl(folder); | 112 | InventoryFolderImpl newfolder = new InventoryFolderImpl(folder); |
113 | rootFolder = newfolder; | 113 | rootFolder = newfolder; |
@@ -119,7 +119,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
119 | { | 119 | { |
120 | foreach (InventoryFolderBase folder in response.Folders) | 120 | foreach (InventoryFolderBase folder in response.Folders) |
121 | { | 121 | { |
122 | if (folder.folderID != rootFolder.folderID) | 122 | if (folder.ID != rootFolder.ID) |
123 | { | 123 | { |
124 | InventoryFolderImpl newfolder = new InventoryFolderImpl(folder); | 124 | InventoryFolderImpl newfolder = new InventoryFolderImpl(folder); |
125 | request.FolderCallBack(userID, newfolder); | 125 | request.FolderCallBack(userID, newfolder); |