interrogate fix for ode::get_id()

This commit is contained in:
David Rose 2010-05-25 21:12:44 +00:00
parent aef517d779
commit bb96117de2
4 changed files with 14 additions and 2 deletions

View File

@ -3261,7 +3261,7 @@ bool InterfaceMakerPythonNative::isCppTypeLegal(CPPType *in_ctype)
{
return true;
}
else if(builder.in_forcetype(in_ctype->get_local_name(&parser)))
else if(builder.in_forcetype(type->get_local_name(&parser)))
{
return true;
}

View File

@ -87,6 +87,8 @@ typedef struct dSurfaceParameters dSurfaceParameters;
typedef struct dMass dMass;
typedef struct dContact dContact;
typedef struct dContactGeom dContactGeom;
typedef struct dTriMeshDataID dTriMeshDataID;
struct dxTriMeshData;
typedef struct dxTriMeshData* dTriMeshDataID;
#endif /* _ODE_COMMON_H_ */

View File

@ -1 +1,9 @@
noinclude ode/ode.h
forcetype dxGeom
forcetype dxBody
forcetype dxWorld
forcetype dxJointGroup
forcetype dxJoint
forcetype dxSpace
forcetype dxTriMeshData

View File

@ -14,6 +14,8 @@
#ifndef _ODE_INCLUDES_H_
#define _ODE_INCLUDES_H_
#include "pandabase.h"
#ifdef int8
#define temp_ode_int8 int8