diff options
author | Melanie Thielker | 2010-07-21 12:16:17 +0200 |
---|---|---|
committer | Melanie Thielker | 2010-07-21 12:16:17 +0200 |
commit | c72c84b4559ea164bcb77c2d64a046729662bf04 (patch) | |
tree | d78c8613666093b068ca4cf22a368b791a2017c9 /OpenSim/Region/Framework/Scenes | |
parent | Resync with master (diff) | |
download | opensim-SC-c72c84b4559ea164bcb77c2d64a046729662bf04.zip opensim-SC-c72c84b4559ea164bcb77c2d64a046729662bf04.tar.gz opensim-SC-c72c84b4559ea164bcb77c2d64a046729662bf04.tar.bz2 opensim-SC-c72c84b4559ea164bcb77c2d64a046729662bf04.tar.xz |
Refine autoreturn a bit
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 7053c02..e738dd2 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -1681,7 +1681,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
1681 | 1681 | ||
1682 | try | 1682 | try |
1683 | { | 1683 | { |
1684 | if (!m_scene.ShuttingDown) // if shutting down then there will be nothing to handle the return so leave till next restart | 1684 | if (!m_scene.ShuttingDown || // if shutting down then there will be nothing to handle the return so leave till next restart |
1685 | m_scene.LoginsDisabled || // We're starting up or doing maintenance, don't mess with things | ||
1686 | m_scene.LoadingPrims) // Land may not be valid yet | ||
1687 | |||
1685 | { | 1688 | { |
1686 | ILandObject parcel = m_scene.LandChannel.GetLandObject( | 1689 | ILandObject parcel = m_scene.LandChannel.GetLandObject( |
1687 | m_rootPart.GroupPosition.X, m_rootPart.GroupPosition.Y); | 1690 | m_rootPart.GroupPosition.X, m_rootPart.GroupPosition.Y); |