From 8cc02916ab9728f85ce326242b2afa1808bbf9ec Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Mon, 20 Jan 2020 19:26:12 +0000 Subject: [PATCH] don't let physics sit on phantom fall back to ugly default --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 343afad810..4446d68940 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -3477,12 +3477,12 @@ namespace OpenSim.Region.Framework.Scenes if (part.PhysActor == null) { // none physcis shape - if (part.PhysicsShapeType == (byte)PhysicsShapeType.None) + //if (part.PhysicsShapeType == (byte)PhysicsShapeType.None) ControllingClient.SendAlertMessage(" There is no suitable surface to sit on, try another spot."); - else + //else { // non physical phantom TODO // ControllingClient.SendAlertMessage(" There is no suitable surface to sit on, try another spot."); - return false; + // return false; } return true; }