diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/InnerScene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/InnerScene.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs index 34224a7..295569e 100644 --- a/OpenSim/Region/Environment/Scenes/InnerScene.cs +++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs | |||
@@ -1373,7 +1373,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
1373 | List<SceneObjectGroup> children = new List<SceneObjectGroup>(); | 1373 | List<SceneObjectGroup> children = new List<SceneObjectGroup>(); |
1374 | if (parenPrim != null) | 1374 | if (parenPrim != null) |
1375 | { | 1375 | { |
1376 | for (int i = 0; i < childPrims.Count; i++) | 1376 | // We do this in reverse to get the link order of the prims correct |
1377 | for (int i = childPrims.Count - 1; i >= 0; i--) | ||
1377 | { | 1378 | { |
1378 | foreach (EntityBase ent in EntityList) | 1379 | foreach (EntityBase ent in EntityList) |
1379 | { | 1380 | { |