From d2260423e5e955b4e0f33f279e64cf74d580dc37 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Mon, 21 May 2012 17:11:19 +0100 Subject: also don't collide sculps or meshs if meshing is OFF --- OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs') diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs index 459cd27..496e7ac 100644 --- a/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs @@ -1482,6 +1482,8 @@ namespace OpenSim.Region.Physics.OdePlugin if (!haveMesh) m_NoColide = true; } + else if(_pbs.SculptEntry) + m_NoColide = true; // also don't colide if is a sculp or mesh and meshing is off if (!haveMesh) { -- cgit v1.1