From 9bad3b846f7f8a4be4b0c5b76ccf83c20ff0a7bf Mon Sep 17 00:00:00 2001 From: Melanie Date: Tue, 28 Feb 2012 10:37:46 +0100 Subject: Really dirty hack to make sims start. Causes errors but the ting runs. Remove when fixed right. --- OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs index 915b88d..c0c33da 100644 --- a/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs @@ -1810,7 +1810,11 @@ namespace OpenSim.Region.Physics.OdePlugin _size.X = 0.01f; _size.Y = 0.01f; _size.Z = 0.01f; - return false; + mesh.releaseSourceMeshData(); + // Temporarily hacking this to true which causes the object + // to get no physical representation, effectively making it + // phantom + return true; } -- cgit v1.1