aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/DAMap.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-03-13 22:59:06 +0000
committerJustin Clark-Casey (justincc)2013-03-13 22:59:06 +0000
commit5c53660a7f055be9ed41f30893de673acac8a0f1 (patch)
tree3c3568c6ab1caf1df975ef7ceaa15cd332dc69a1 /OpenSim/Framework/DAMap.cs
parentminor: save some commented out log lines which will be useful again in future... (diff)
downloadopensim-SC_OLD-5c53660a7f055be9ed41f30893de673acac8a0f1.zip
opensim-SC_OLD-5c53660a7f055be9ed41f30893de673acac8a0f1.tar.gz
opensim-SC_OLD-5c53660a7f055be9ed41f30893de673acac8a0f1.tar.bz2
opensim-SC_OLD-5c53660a7f055be9ed41f30893de673acac8a0f1.tar.xz
Add prototype dynamic objects map for scene object parts
This allows region modules to add dynamic objects to SOPs rather than having to continually push and pull OSD dynamic attributes. This is to explore the original MOAP use case for dynamic attributes where it could be very awkward and possibly time-consuming to keep reconstructing MediaEntrys from stored DynamicAttributes. This commit adds a DOExampleModule to demonstrate/evolve this code. Dynamic objects involve no storage or persistence changes - the 'backing store' for any data that does need to be saved will remain the DAMap. DOExampleModule in this commit only attaches a fresh dynamic object. Actually constructing this from stored dynamic attributes and handling persistence is left for later. These changes should affect no existing functionality, though it may or may not reveal necessary changes in DAMap down the road.
Diffstat (limited to 'OpenSim/Framework/DAMap.cs')
-rw-r--r--OpenSim/Framework/DAMap.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/DAMap.cs b/OpenSim/Framework/DAMap.cs
index 64cea77..df4a6bc 100644
--- a/OpenSim/Framework/DAMap.cs
+++ b/OpenSim/Framework/DAMap.cs
@@ -180,7 +180,7 @@ namespace OpenSim.Framework
180 /// Validate the key used for storing separate data stores. 180 /// Validate the key used for storing separate data stores.
181 /// </summary> 181 /// </summary>
182 /// <param name='key'></param> 182 /// <param name='key'></param>
183 private static void ValidateKey(string key) 183 public static void ValidateKey(string key)
184 { 184 {
185 if (key.Length < MIN_STORE_NAME_LENGTH) 185 if (key.Length < MIN_STORE_NAME_LENGTH)
186 throw new Exception("Minimum store name length is " + MIN_STORE_NAME_LENGTH); 186 throw new Exception("Minimum store name length is " + MIN_STORE_NAME_LENGTH);