Correct spelling mistake in new RayFilterFlags, LSLPhanton -> LSLPhantom

user_profiles
Justin Clark-Casey (justincc) 2013-02-02 01:34:49 +00:00
parent 9588328242
commit 2ff301ca11
2 changed files with 3 additions and 3 deletions

View File

@ -60,7 +60,7 @@ namespace OpenSim.Region.Physics.Manager
ClosestHit = 0x8000, ClosestHit = 0x8000,
// some combinations // some combinations
LSLPhanton = phantom | volumedtc, LSLPhantom = phantom | volumedtc,
PrimsNonPhantom = nonphysical | physical, PrimsNonPhantom = nonphysical | physical,
PrimsNonPhantomAgents = nonphysical | physical | agent, PrimsNonPhantomAgents = nonphysical | physical | agent,

View File

@ -11381,7 +11381,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
if (checkNonPhysical) if (checkNonPhysical)
rayfilter |= RayFilterFlags.nonphysical; rayfilter |= RayFilterFlags.nonphysical;
if (detectPhantom) if (detectPhantom)
rayfilter |= RayFilterFlags.LSLPhanton; rayfilter |= RayFilterFlags.LSLPhantom;
Vector3 direction = dir * ( 1/dist); Vector3 direction = dir * ( 1/dist);