mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
cosmetics on ubder meshing
This commit is contained in:
@@ -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,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user