fix ode getconfiguration
parent
0ac161c9a8
commit
a709768085
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue