ODE odetrimeshdata problem

I am not directly calling OdeTriMeshGeom::get_data() or get_data_id() (I am using python), but the system warned me

:ode:odetrimeshdata(warning): OdeTriMeshGeom::c, use OdeTriMeshGeom::get_tri_mesh_data_id() instead!
:ode:odetrimeshdata(warning): OdeTriMeshGeom::get_data() is deprecated, use OdeTriMeshGeom::get_tri_mesh_data() instead!
:ode:odetrimeshdata(warning): OdeTriMeshGeom::get_data_id() is deprecated, use OdeTriMeshGeom::get_tri_mesh_data_id() instead!
:ode:odetrimeshdata(warning): OdeTriMeshGeom::get_data() is deprecated, use OdeTriMeshGeom::get_tri_mesh_data() instead!

Why does it appear?

LATEST REPORT:

After some debug, I found the warning is triggered when using copy.deepcopy(some OdeTrimeshGeom object), right now I am creating a new one instead of deepcopy to circumvent it.

Thanks, this bug will be fixed in Panda3D 1.10.13.

1 Like