diff options
author | Charles Krinke | 2007-12-17 16:41:28 +0000 |
---|---|---|
committer | Charles Krinke | 2007-12-17 16:41:28 +0000 |
commit | a990c64698d465a6ed1694cdaa526254f8063663 (patch) | |
tree | 9833c5eb8a95ad44dcea0f84769703323d488a6e /OpenSim/Region/Environment/Scenes/SceneXmlLoader.cs | |
parent | Thank you, Kiryu for a patch to fix out of sync error in UDP server (diff) | |
download | opensim-SC_OLD-a990c64698d465a6ed1694cdaa526254f8063663.zip opensim-SC_OLD-a990c64698d465a6ed1694cdaa526254f8063663.tar.gz opensim-SC_OLD-a990c64698d465a6ed1694cdaa526254f8063663.tar.bz2 opensim-SC_OLD-a990c64698d465a6ed1694cdaa526254f8063663.tar.xz |
Thank you to Kiryu for a patch to fix an out of Sync
error in Scene. Affects 6 files and is Mantis#201
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneXmlLoader.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneXmlLoader.cs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneXmlLoader.cs b/OpenSim/Region/Environment/Scenes/SceneXmlLoader.cs index c4411e3..aeb9c61 100644 --- a/OpenSim/Region/Environment/Scenes/SceneXmlLoader.cs +++ b/OpenSim/Region/Environment/Scenes/SceneXmlLoader.cs | |||
@@ -108,7 +108,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
108 | StreamWriter stream = new StreamWriter(file); | 108 | StreamWriter stream = new StreamWriter(file); |
109 | int primCount = 0; | 109 | int primCount = 0; |
110 | stream.WriteLine("<scene>\n"); | 110 | stream.WriteLine("<scene>\n"); |
111 | foreach (EntityBase ent in m_innerScene.Entities.Values) | 111 | |
112 | List<EntityBase> EntityList = m_innerScene.GetEntities(); | ||
113 | |||
114 | foreach (EntityBase ent in EntityList) | ||
112 | { | 115 | { |
113 | if (ent is SceneObjectGroup) | 116 | if (ent is SceneObjectGroup) |
114 | { | 117 | { |
@@ -170,7 +173,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
170 | StreamWriter stream = new StreamWriter(file); | 173 | StreamWriter stream = new StreamWriter(file); |
171 | int primCount = 0; | 174 | int primCount = 0; |
172 | stream.WriteLine("<scene>\n"); | 175 | stream.WriteLine("<scene>\n"); |
173 | foreach (EntityBase ent in m_innerScene.Entities.Values) | 176 | |
177 | List<EntityBase> EntityList = m_innerScene.GetEntities(); | ||
178 | |||
179 | foreach (EntityBase ent in EntityList) | ||
174 | { | 180 | { |
175 | if (ent is SceneObjectGroup) | 181 | if (ent is SceneObjectGroup) |
176 | { | 182 | { |