From 5135214e5b03157e4408a7cf140ffb4893cf5e99 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 22 Dec 2015 13:23:08 +0000 Subject: [PATCH] physics landing: don't land on top of volume detectors --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 42361956ae..4e63310f78 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -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;