aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorUbitUmarov2012-02-28 20:24:03 +0000
committerUbitUmarov2012-02-28 20:24:03 +0000
commita8a7bb549d49b9b0cb3ff7478aa43f9e19931893 (patch)
tree72e81ecd13f3e5fe499f3735894e0131811fa446 /OpenSim
parentA few blind changes to go try to go around bad mesh little box replacement fail (diff)
downloadopensim-SC-a8a7bb549d49b9b0cb3ff7478aa43f9e19931893.zip
opensim-SC-a8a7bb549d49b9b0cb3ff7478aa43f9e19931893.tar.gz
opensim-SC-a8a7bb549d49b9b0cb3ff7478aa43f9e19931893.tar.bz2
opensim-SC-a8a7bb549d49b9b0cb3ff7478aa43f9e19931893.tar.xz
made box a little larger
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs
index d63b9a4..0a4ebe4 100644
--- a/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs
+++ b/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs
@@ -1810,9 +1810,9 @@ namespace OpenSim.Region.Physics.OdePlugin
1810 if (vertexCount == 0 || indexCount == 0) 1810 if (vertexCount == 0 || indexCount == 0)
1811 { 1811 {
1812 m_log.WarnFormat("[PHYSICS]: Got invalid mesh on prim {0} at <{1},{2},{3}>. It can be a sculp with alpha channel in map. Replacing it by a small box.", Name, _position.X, _position.Y, _position.Z); 1812 m_log.WarnFormat("[PHYSICS]: Got invalid mesh on prim {0} at <{1},{2},{3}>. It can be a sculp with alpha channel in map. Replacing it by a small box.", Name, _position.X, _position.Y, _position.Z);
1813 _size.X = 0.01f; 1813 _size.X = 0.05f;
1814 _size.Y = 0.01f; 1814 _size.Y = 0.05f;
1815 _size.Z = 0.01f; 1815 _size.Z = 0.05f;
1816 return false; 1816 return false;
1817 } 1817 }
1818 1818
@@ -1851,9 +1851,9 @@ namespace OpenSim.Region.Physics.OdePlugin
1851 d.GeomTriMeshDataDestroy(_triMeshData); 1851 d.GeomTriMeshDataDestroy(_triMeshData);
1852 _triMeshData = IntPtr.Zero; 1852 _triMeshData = IntPtr.Zero;
1853 } 1853 }
1854 _size.X = 0.01f; 1854 _size.X = 0.05f;
1855 _size.Y = 0.01f; 1855 _size.Y = 0.05f;
1856 _size.Z = 0.01f; 1856 _size.Z = 0.05f;
1857 return false; 1857 return false;
1858 } 1858 }
1859 1859