mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
fix ode getconfiguration
This commit is contained in:
@@ -1312,7 +1312,7 @@ namespace OdeAPI
|
||||
public static extern void GeomTriMeshSetRayCallback(IntPtr g, TriRayCallback callback);
|
||||
|
||||
[DllImport("ode", CallingConvention = CallingConvention.Cdecl, EntryPoint = "dGetConfiguration"), SuppressUnmanagedCodeSecurity]
|
||||
public static extern string GetConfiguration(string str);
|
||||
public static extern string GetConfiguration();
|
||||
|
||||
[DllImport("ode", CallingConvention = CallingConvention.Cdecl, EntryPoint = "dHashSpaceCreate"), SuppressUnmanagedCodeSecurity]
|
||||
public static extern IntPtr HashSpaceCreate(IntPtr space);
|
||||
|
||||
@@ -409,7 +409,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||
mesher = meshmerizer;
|
||||
m_config = config;
|
||||
|
||||
string ode_config = d.GetConfiguration("ODE");
|
||||
string ode_config = d.GetConfiguration();
|
||||
if (ode_config != null && ode_config != "")
|
||||
{
|
||||
m_log.WarnFormat("ODE configuration: {0}", ode_config);
|
||||
|
||||
Reference in New Issue
Block a user