diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index ff8d2fe..6aa5047 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -3419,11 +3419,11 @@ else | |||
3419 | SendSitResponse(targetID, offset, Quaternion.Identity); | 3419 | SendSitResponse(targetID, offset, Quaternion.Identity); |
3420 | } | 3420 | } |
3421 | 3421 | ||
3422 | // returns false if does not suport so older sit can be tried | 3422 | // returns false if does not support so older sit can be tried |
3423 | public bool PhysicsSit(SceneObjectPart part, Vector3 offset) | 3423 | public bool PhysicsSit(SceneObjectPart part, Vector3 offset) |
3424 | { | 3424 | { |
3425 | if (part == null || part.ParentGroup.IsAttachment) | 3425 | //// if (part == null || part.ParentGroup.IsAttachment) |
3426 | return true; | 3426 | //// return true; |
3427 | 3427 | ||
3428 | if ( m_scene.PhysicsScene == null) | 3428 | if ( m_scene.PhysicsScene == null) |
3429 | return false; | 3429 | return false; |
@@ -3549,14 +3549,14 @@ else | |||
3549 | 3549 | ||
3550 | if (part != null) | 3550 | if (part != null) |
3551 | { | 3551 | { |
3552 | if (part.ParentGroup.IsAttachment) | 3552 | //// if (part.ParentGroup.IsAttachment) |
3553 | { | 3553 | //// { |
3554 | m_log.WarnFormat( | 3554 | //// m_log.WarnFormat( |
3555 | "[SCENE PRESENCE]: Avatar {0} tried to sit on part {1} from object {2} in {3} but this is an attachment for avatar id {4}", | 3555 | //// "[SCENE PRESENCE]: Avatar {0} tried to sit on part {1} from object {2} in {3} but this is an attachment for avatar id {4}", |
3556 | Name, part.Name, part.ParentGroup.Name, Scene.Name, part.ParentGroup.AttachedAvatar); | 3556 | //// Name, part.Name, part.ParentGroup.Name, Scene.Name, part.ParentGroup.AttachedAvatar); |
3557 | 3557 | //// | |
3558 | return; | 3558 | //// return; |
3559 | } | 3559 | //// } |
3560 | 3560 | ||
3561 | if (part.SitTargetAvatar == UUID) | 3561 | if (part.SitTargetAvatar == UUID) |
3562 | { | 3562 | { |