made box a little larger

avinationmerge
UbitUmarov 2012-02-28 20:24:03 +00:00
parent 1c7700db88
commit a8a7bb549d
1 changed files with 6 additions and 6 deletions

View File

@ -1810,9 +1810,9 @@ namespace OpenSim.Region.Physics.OdePlugin
if (vertexCount == 0 || indexCount == 0)
{
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);
_size.X = 0.01f;
_size.Y = 0.01f;
_size.Z = 0.01f;
_size.X = 0.05f;
_size.Y = 0.05f;
_size.Z = 0.05f;
return false;
}
@ -1851,9 +1851,9 @@ namespace OpenSim.Region.Physics.OdePlugin
d.GeomTriMeshDataDestroy(_triMeshData);
_triMeshData = IntPtr.Zero;
}
_size.X = 0.01f;
_size.Y = 0.01f;
_size.Z = 0.01f;
_size.X = 0.05f;
_size.Y = 0.05f;
_size.Z = 0.05f;
return false;
}