aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/IXInventoryData.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-11-09 00:59:18 +0000
committerJustin Clark-Casey (justincc)2012-11-09 01:13:19 +0000
commit75c880a6f3631a527b532773a8a493309a96028e (patch)
treed07023ef4a277420b66f3b144df3be1287c26d92 /OpenSim/Data/IXInventoryData.cs
parentODECharacter overrides TargetVelocity. No change to existing behavior (diff)
downloadopensim-SC_OLD-75c880a6f3631a527b532773a8a493309a96028e.zip
opensim-SC_OLD-75c880a6f3631a527b532773a8a493309a96028e.tar.gz
opensim-SC_OLD-75c880a6f3631a527b532773a8a493309a96028e.tar.bz2
opensim-SC_OLD-75c880a6f3631a527b532773a8a493309a96028e.tar.xz
Update parent inventory folder version numbers when folders are moved/created/deleted to match version numbers cached by viewers.
This is done in the way that one would expect (e.g. moving a folder increments version number on both source and destination parent folders). This should hopefully improve viewer reuse of its cached inventory information. Currently MySQL only but will be implement for SQLite/MSSQL if there are no issues.
Diffstat (limited to 'OpenSim/Data/IXInventoryData.cs')
-rw-r--r--OpenSim/Data/IXInventoryData.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Data/IXInventoryData.cs b/OpenSim/Data/IXInventoryData.cs
index e64a828..0df71f5 100644
--- a/OpenSim/Data/IXInventoryData.cs
+++ b/OpenSim/Data/IXInventoryData.cs
@@ -116,7 +116,22 @@ namespace OpenSim.Data
116 /// <returns>true if the delete was successful, false if it was not</returns> 116 /// <returns>true if the delete was successful, false if it was not</returns>
117 bool DeleteItems(string[] fields, string[] vals); 117 bool DeleteItems(string[] fields, string[] vals);
118 118
119 /// <summary>
120 /// Move an item to a new folder.
121 /// </summary>
122 /// <returns>/returns>
123 /// <param name='id'>UUID of the item</param>
124 /// <param name='newParent'>UUID of the new folder.</param>
119 bool MoveItem(string id, string newParent); 125 bool MoveItem(string id, string newParent);
126
127 /// <summary>
128 /// Move a folder to a new folder.
129 /// </summary>
130 /// <returns>/returns>
131 /// <param name='id'>UUID of the item</param>
132 /// <param name='newParent'>UUID of the new folder.</param>
133 bool MoveFolder(string id, string newParent);
134
120 XInventoryItem[] GetActiveGestures(UUID principalID); 135 XInventoryItem[] GetActiveGestures(UUID principalID);
121 int GetAssetPermissions(UUID principalID, UUID assetID); 136 int GetAssetPermissions(UUID principalID, UUID assetID);
122 } 137 }