diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs b/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs index 7d57cb4070..6e2f877d89 100644 --- a/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs +++ b/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs @@ -1479,6 +1479,12 @@ namespace OpenSim.Region.PhysicsModule.ubOde return false; } + if (vertexCount > 64000 || indexCount > 64000) + { + m_log.WarnFormat("[PHYSICS]: large mesh data on OdePrim {0}, mesh {1} at {2}, {3} vertices, {4} indexes", + Name, _pbs.SculptEntry ? _pbs.SculptTexture.ToString() : "primMesh", + _position.ToString() ,vertexCount , indexCount ); + } IntPtr geo = IntPtr.Zero; try