From ad17093ff43431bb46c77512bb995ad399e84c6f Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 25 Jun 2025 02:38:12 +0100 Subject: [PATCH] oops wrong fix --- OpenSim/Region/Application/Application.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs index f68f511385..dc633ad899 100644 --- a/OpenSim/Region/Application/Application.cs +++ b/OpenSim/Region/Application/Application.cs @@ -78,6 +78,7 @@ namespace OpenSim AppContext.SetSwitch("System.Drawing.EnableUnixSupport", true); + /* // pre load System.Drawing.Common.dll for the platform // this will fail if a newer version is present on GAC, bin folder, etc, since LoadFrom only accepts the path, if it cannot find it elsewhere string targetdll = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location),"lib", @@ -91,7 +92,7 @@ namespace OpenSim m_log.Error("Failed to load System.Drawing.Common.dll for current platform" + e.Message); throw; } - + */ string targetdll = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "System.Drawing.Common.dll"); string src = targetdll + (Util.IsWindows() ? ".win" : ".linux");