From fb1911d4093000276594a7a8329231fd0cd741a7 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 29 Jan 2020 21:23:06 +0000 Subject: [PATCH] revert 8cc02916ab9728f85ce326242b2afa1808bbf9ec. allow physics sit on phanton to fall back to ugly sit because some objects depend on it --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 604bc4ce50..8f21386e7b 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -3499,14 +3499,14 @@ namespace OpenSim.Region.Framework.Scenes if (part.PhysActor == null) { - // none physcis shape - //if (part.PhysicsShapeType == (byte)PhysicsShapeType.None) + // none physics shape + if (part.PhysicsShapeType == (byte)PhysicsShapeType.None) ControllingClient.SendAlertMessage(" There is no suitable surface to sit on, try another spot."); - //else - //{ // non physical phantom TODO + else + { // non physical phantom TODO //ControllingClient.SendAlertMessage(" There is no suitable surface to sit on, try another spot."); - // return false; - //} + return false; + } return true; }