diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rwxr-xr-x | OpenSim/Region/Framework/Scenes/Scene.cs | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index d5dbcaf..0d6af77 100755 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -2780,13 +2780,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
2780 | else | 2780 | else |
2781 | group.StopScriptInstances(); | 2781 | group.StopScriptInstances(); |
2782 | 2782 | ||
2783 | List<ScenePresence> avatars = group.GetSittingAvatars(); | ||
2784 | foreach (ScenePresence av in avatars) | ||
2785 | { | ||
2786 | if(av.ParentUUID == UUID.Zero) | ||
2787 | av.StandUp(); | ||
2788 | } | ||
2789 | |||
2790 | SceneObjectPart[] partList = group.Parts; | 2783 | SceneObjectPart[] partList = group.Parts; |
2791 | 2784 | ||
2792 | foreach (SceneObjectPart part in partList) | 2785 | foreach (SceneObjectPart part in partList) |
@@ -3336,7 +3329,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
3336 | client.OnObjectRequest += RequestPrim; | 3329 | client.OnObjectRequest += RequestPrim; |
3337 | client.OnObjectSelect += SelectPrim; | 3330 | client.OnObjectSelect += SelectPrim; |
3338 | client.OnObjectDeselect += DeselectPrim; | 3331 | client.OnObjectDeselect += DeselectPrim; |
3339 | client.OnGrabUpdate += m_sceneGraph.MoveObject; | ||
3340 | client.OnSpinStart += m_sceneGraph.SpinStart; | 3332 | client.OnSpinStart += m_sceneGraph.SpinStart; |
3341 | client.OnSpinUpdate += m_sceneGraph.SpinObject; | 3333 | client.OnSpinUpdate += m_sceneGraph.SpinObject; |
3342 | client.OnDeRezObject += DeRezObjects; | 3334 | client.OnDeRezObject += DeRezObjects; |
@@ -3464,7 +3456,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
3464 | client.OnObjectRequest -= RequestPrim; | 3456 | client.OnObjectRequest -= RequestPrim; |
3465 | client.OnObjectSelect -= SelectPrim; | 3457 | client.OnObjectSelect -= SelectPrim; |
3466 | client.OnObjectDeselect -= DeselectPrim; | 3458 | client.OnObjectDeselect -= DeselectPrim; |
3467 | client.OnGrabUpdate -= m_sceneGraph.MoveObject; | ||
3468 | client.OnSpinStart -= m_sceneGraph.SpinStart; | 3459 | client.OnSpinStart -= m_sceneGraph.SpinStart; |
3469 | client.OnSpinUpdate -= m_sceneGraph.SpinObject; | 3460 | client.OnSpinUpdate -= m_sceneGraph.SpinObject; |
3470 | client.OnDeRezObject -= DeRezObjects; | 3461 | client.OnDeRezObject -= DeRezObjects; |
@@ -3479,6 +3470,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
3479 | client.OnRequestObjectPropertiesFamily -= m_sceneGraph.RequestObjectPropertiesFamily; | 3470 | client.OnRequestObjectPropertiesFamily -= m_sceneGraph.RequestObjectPropertiesFamily; |
3480 | client.OnObjectPermissions -= HandleObjectPermissionsUpdate; | 3471 | client.OnObjectPermissions -= HandleObjectPermissionsUpdate; |
3481 | client.OnGrabObject -= ProcessObjectGrab; | 3472 | client.OnGrabObject -= ProcessObjectGrab; |
3473 | client.OnGrabUpdate -= ProcessObjectGrabUpdate; | ||
3482 | client.OnDeGrabObject -= ProcessObjectDeGrab; | 3474 | client.OnDeGrabObject -= ProcessObjectDeGrab; |
3483 | client.OnUndo -= m_sceneGraph.HandleUndo; | 3475 | client.OnUndo -= m_sceneGraph.HandleUndo; |
3484 | client.OnRedo -= m_sceneGraph.HandleRedo; | 3476 | client.OnRedo -= m_sceneGraph.HandleRedo; |
@@ -5036,7 +5028,7 @@ Label_GroupsDone: | |||
5036 | 5028 | ||
5037 | public LandData GetLandData(uint x, uint y) | 5029 | public LandData GetLandData(uint x, uint y) |
5038 | { | 5030 | { |
5039 | m_log.DebugFormat("[SCENE]: returning land for {0},{1}", x, y); | 5031 | // m_log.DebugFormat("[SCENE]: returning land for {0},{1}", x, y); |
5040 | ILandObject parcel = LandChannel.GetLandObject((int)x, (int)y); | 5032 | ILandObject parcel = LandChannel.GetLandObject((int)x, (int)y); |
5041 | if (parcel == null) | 5033 | if (parcel == null) |
5042 | return null; | 5034 | return null; |
@@ -5439,7 +5431,6 @@ Label_GroupsDone: | |||
5439 | } | 5431 | } |
5440 | } | 5432 | } |
5441 | } | 5433 | } |
5442 | |||
5443 | } | 5434 | } |
5444 | 5435 | ||
5445 | public void DeleteFromStorage(UUID uuid) | 5436 | public void DeleteFromStorage(UUID uuid) |