diff options
author | Melanie | 2012-02-28 10:37:46 +0100 |
---|---|---|
committer | Melanie | 2012-02-28 10:37:46 +0100 |
commit | 9bad3b846f7f8a4be4b0c5b76ccf83c20ff0a7bf (patch) | |
tree | 7b1afc69ddcff05122251fcf3508af32648b9fd9 /OpenSim/Region/Physics/ChOdePlugin | |
parent | Let inworld meshs colide as such and not as basic prim all the time. Removed... (diff) | |
download | opensim-SC-9bad3b846f7f8a4be4b0c5b76ccf83c20ff0a7bf.zip opensim-SC-9bad3b846f7f8a4be4b0c5b76ccf83c20ff0a7bf.tar.gz opensim-SC-9bad3b846f7f8a4be4b0c5b76ccf83c20ff0a7bf.tar.bz2 opensim-SC-9bad3b846f7f8a4be4b0c5b76ccf83c20ff0a7bf.tar.xz |
Really dirty hack to make sims start. Causes errors but the ting runs. Remove
when fixed right.
Diffstat (limited to 'OpenSim/Region/Physics/ChOdePlugin')
-rw-r--r-- | OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs | 6 |
1 files changed, 5 insertions, 1 deletions
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 | |||
1810 | _size.X = 0.01f; | 1810 | _size.X = 0.01f; |
1811 | _size.Y = 0.01f; | 1811 | _size.Y = 0.01f; |
1812 | _size.Z = 0.01f; | 1812 | _size.Z = 0.01f; |
1813 | return false; | 1813 | mesh.releaseSourceMeshData(); |
1814 | // Temporarily hacking this to true which causes the object | ||
1815 | // to get no physical representation, effectively making it | ||
1816 | // phantom | ||
1817 | return true; | ||
1814 | } | 1818 | } |
1815 | 1819 | ||
1816 | 1820 | ||