Correct spelling mistake in new RayFilterFlags, LSLPhanton -> LSLPhantom
parent
9588328242
commit
2ff301ca11
|
@ -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,
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue