mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 11:33:28 +08:00
Correct spelling mistake in new RayFilterFlags, LSLPhanton -> LSLPhantom
This commit is contained in:
@@ -43,7 +43,7 @@ namespace OpenSim.Region.Physics.Manager
|
||||
public delegate void JointDeactivated(PhysicsJoint joint);
|
||||
public delegate void JointErrorMessage(PhysicsJoint joint, string message); // this refers to an "error message due to a problem", not "amount of joint constraint violation"
|
||||
|
||||
public enum RayFilterFlags:ushort
|
||||
public enum RayFilterFlags : ushort
|
||||
{
|
||||
// the flags
|
||||
water = 0x01,
|
||||
@@ -60,7 +60,7 @@ namespace OpenSim.Region.Physics.Manager
|
||||
ClosestHit = 0x8000,
|
||||
|
||||
// some combinations
|
||||
LSLPhanton = phantom | volumedtc,
|
||||
LSLPhantom = phantom | volumedtc,
|
||||
PrimsNonPhantom = nonphysical | physical,
|
||||
PrimsNonPhantomAgents = nonphysical | physical | agent,
|
||||
|
||||
|
||||
@@ -11381,7 +11381,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
if (checkNonPhysical)
|
||||
rayfilter |= RayFilterFlags.nonphysical;
|
||||
if (detectPhantom)
|
||||
rayfilter |= RayFilterFlags.LSLPhanton;
|
||||
rayfilter |= RayFilterFlags.LSLPhantom;
|
||||
|
||||
Vector3 direction = dir * ( 1/dist);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user