mirror of
https://github.com/opensim/opensim.git
synced 2026-07-13 19:14:51 +08:00
add a console/log warning about large physics meshs on ubOde that can have negative impact on region load
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user