aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie2010-09-30 02:46:47 +0200
committerMelanie2010-09-30 02:46:47 +0200
commit9522881404e9496cb68d97fae537d60bbfa5233b (patch)
treee8875d15ca5941b0098ea8efa823822f12cdbea1 /OpenSim
parentLock the iteration over the inventory items when saving script states (diff)
downloadopensim-SC-9522881404e9496cb68d97fae537d60bbfa5233b.zip
opensim-SC-9522881404e9496cb68d97fae537d60bbfa5233b.tar.gz
opensim-SC-9522881404e9496cb68d97fae537d60bbfa5233b.tar.bz2
opensim-SC-9522881404e9496cb68d97fae537d60bbfa5233b.tar.xz
Fix a potential key collision
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index a9502ed..a00a7c4 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -1035,7 +1035,7 @@ namespace OpenSim.Region.Framework.Scenes
1035 { 1035 {
1036 Dictionary<UUID, string> pstates = parts[i].Inventory.GetScriptStates(oldIDs); 1036 Dictionary<UUID, string> pstates = parts[i].Inventory.GetScriptStates(oldIDs);
1037 foreach (KeyValuePair<UUID, string> kvp in pstates) 1037 foreach (KeyValuePair<UUID, string> kvp in pstates)
1038 states.Add(kvp.Key, kvp.Value); 1038 states[kvp.Key] = kvp.Value;
1039 } 1039 }
1040 1040
1041 if (states.Count > 0) 1041 if (states.Count > 0)