1
0
Fork 0
4Creative-Changes/Patch/0001-skip-large-mesh-object...

28 lines
1.1 KiB
Diff

From b6a38c4e05ff342ea541d139c648380d7686112b Mon Sep 17 00:00:00 2001
From: Chris <christopher@clatza.dev>
Date: Fri, 22 Jan 2021 16:44:56 +0100
Subject: [PATCH] skip large mesh objects
---
OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs b/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs
index 121a8ce937..5810a90277 100644
--- a/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs
+++ b/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs
@@ -1678,9 +1678,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
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 );
+ return true;
}
IntPtr geo = IntPtr.Zero;
--
2.29.2.windows.3