From a0d75be56be66e7e7dd04c8ae7760596d135af99 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 29 Feb 2012 05:14:29 +0000 Subject: [PATCH] fix --- OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs index 514074c2cf..3ed3b5a3c8 100644 --- a/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs @@ -893,10 +893,12 @@ namespace OpenSim.Region.Physics.OdePlugin if (m_isphysical) { d.GeomSetCollideBits(prim_geom, (int)CollisionCategories.Land); - d.GeomDisable(prim_geom); } else + { d.GeomSetCollideBits(prim_geom, 0); + d.GeomDisable(prim_geom); + } } else {