made box a little larger
parent
1c7700db88
commit
a8a7bb549d
|
@ -1810,9 +1810,9 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||||
if (vertexCount == 0 || indexCount == 0)
|
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);
|
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.X = 0.05f;
|
||||||
_size.Y = 0.01f;
|
_size.Y = 0.05f;
|
||||||
_size.Z = 0.01f;
|
_size.Z = 0.05f;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1851,9 +1851,9 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||||
d.GeomTriMeshDataDestroy(_triMeshData);
|
d.GeomTriMeshDataDestroy(_triMeshData);
|
||||||
_triMeshData = IntPtr.Zero;
|
_triMeshData = IntPtr.Zero;
|
||||||
}
|
}
|
||||||
_size.X = 0.01f;
|
_size.X = 0.05f;
|
||||||
_size.Y = 0.01f;
|
_size.Y = 0.05f;
|
||||||
_size.Z = 0.01f;
|
_size.Z = 0.05f;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue