cosmetics on ubder meshing

This commit is contained in:
UbitUmarov
2022-10-23 21:10:36 +01:00
parent f5883d8ce6
commit 0289011442
3 changed files with 484 additions and 544 deletions

View File

@@ -632,16 +632,11 @@ namespace OpenSim.Region.PhysicsModules.SharedBase
get { return (int)m_actorType; }
set {
ActorTypes type = (ActorTypes)value;
switch (type)
m_actorType = type switch
{
case ActorTypes.Ground:
case ActorTypes.Water:
m_actorType = type;
break;
default:
m_actorType = ActorTypes.Unknown;
break;
}
ActorTypes.Ground or ActorTypes.Water => type,
_ => ActorTypes.Unknown,
};
}
}