diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index 1482f9a..1b3d942 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -442,12 +442,12 @@ namespace OpenSim.Region.Environment.Scenes | |||
442 | } | 442 | } |
443 | more = !reader.EOF; | 443 | more = !reader.EOF; |
444 | } | 444 | } |
445 | |||
445 | reader.Close(); | 446 | reader.Close(); |
446 | sr.Close(); | 447 | sr.Close(); |
447 | 448 | ||
448 | UpdateParentIDs(); | 449 | UpdateParentIDs(); |
449 | } | 450 | } |
450 | |||
451 | 451 | ||
452 | /// <summary> | 452 | /// <summary> |
453 | /// | 453 | /// |
@@ -832,7 +832,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
832 | } | 832 | } |
833 | 833 | ||
834 | /// <summary> | 834 | /// <summary> |
835 | /// | 835 | /// Make sure that every non root part has the proper parent root part local id |
836 | /// </summary> | 836 | /// </summary> |
837 | public void UpdateParentIDs() | 837 | public void UpdateParentIDs() |
838 | { | 838 | { |
@@ -1663,6 +1663,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1663 | { | 1663 | { |
1664 | return true; | 1664 | return true; |
1665 | } | 1665 | } |
1666 | |||
1666 | return false; | 1667 | return false; |
1667 | } | 1668 | } |
1668 | 1669 | ||
@@ -1684,6 +1685,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1684 | } | 1685 | } |
1685 | } | 1686 | } |
1686 | } | 1687 | } |
1688 | |||
1687 | return false; | 1689 | return false; |
1688 | } | 1690 | } |
1689 | 1691 | ||