mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 10:15:33 +08:00
update libomv with new dllmapconfiguration helper. This will read again files *dll.config to setup dllmaps, but does need to be called by hand on respective assemblies. It will also set dllmaps for windows. Change ubode to use it. (cross fingers)
This commit is contained in:
@@ -7,6 +7,7 @@ using Mono.Addins;
|
||||
using OpenSim.Framework;
|
||||
using OpenSim.Region.Framework.Scenes;
|
||||
using OpenSim.Region.Framework.Interfaces;
|
||||
using OpenMetaverse;
|
||||
|
||||
namespace OpenSim.Region.PhysicsModule.ubOde
|
||||
{
|
||||
@@ -55,8 +56,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
|
||||
//throw new Exception("Invalid physics meshing option");
|
||||
}
|
||||
|
||||
if (Util.IsWindows())
|
||||
Util.LoadArchSpecificWindowsDll("ubode.dll");
|
||||
DllmapConfigHelper.RegisterAssembly(typeof(ubOdeModule).Assembly);
|
||||
|
||||
UBOdeNative.InitODE();
|
||||
|
||||
|
||||
@@ -733,9 +733,9 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing
|
||||
return false;
|
||||
}
|
||||
}
|
||||
catch (DllNotFoundException)
|
||||
catch (DllNotFoundException e)
|
||||
{
|
||||
m_log.Error("[PHYSICS]: OpenJpeg is not installed correctly on this system. Physics Proxy generation failed. Often times this is because of an old version of GLIBC. You must have version 2.4 or above!");
|
||||
m_log.Error($"[PHYSICS]: OpenJpeg problem: {e.Message}");
|
||||
return false;
|
||||
}
|
||||
catch (IndexOutOfRangeException)
|
||||
|
||||
Reference in New Issue
Block a user