1
0
Fork 0

add patch

master
Chris 2021-01-22 16:47:23 +01:00
parent bf7bb1c563
commit 7a6f3fac49
1 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,27 @@
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