From a0d75be56be66e7e7dd04c8ae7760596d135af99 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 29 Feb 2012 05:14:29 +0000 Subject: fix --- OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs index 514074c..3ed3b5a 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 { -- cgit v1.1