physics landing: don't land on top of volume detectors

LSLKeyTest
UbitUmarov 2015-12-22 13:23:08 +00:00
parent 6437a94388
commit 5135214e5b
1 changed files with 1 additions and 3 deletions

View File

@ -1251,9 +1251,7 @@ namespace OpenSim.Region.Framework.Scenes
{
// land check was done above
RayFilterFlags rayfilter = RayFilterFlags.BackFaceCull;
rayfilter |= RayFilterFlags.physical;
rayfilter |= RayFilterFlags.nonphysical;
rayfilter |= RayFilterFlags.LSLPhantom; // ubODE will only see volume detectors
rayfilter |= RayFilterFlags.PrimsNonPhantomAgents;
int physcount = PhysNumberCollisions;