don't let physics sit on phantom fall back to ugly default

master
UbitUmarov 2020-01-20 19:26:12 +00:00
parent 3f601c9267
commit 8cc02916ab
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}