Verified Commit b6ed2ba8 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

python: remove useless conversion

parent 8ae84162
......@@ -14,22 +14,13 @@ namespace pinocchio
namespace python
{
static void exposeVariants()
void exposeJoints()
{
boost::mpl::for_each<JointModelVariant::types>(JointModelExposer());
bp::to_python_converter<pinocchio::JointModelVariant,
JointVariantVisitor<pinocchio::JointModelVariant > >();
boost::mpl::for_each<JointDataVariant::types>(JointDataExposer());
bp::to_python_converter<pinocchio::JointDataVariant,
JointVariantVisitor<pinocchio::JointDataVariant > >();
}
void exposeJoints()
{
exposeVariants();
JointModelPythonVisitor::expose();
StdAlignedVectorPythonVisitor<JointModel,true>::expose("StdVec_JointModelVector");
StdAlignedVectorPythonVisitor<JointModel>::expose("StdVec_JointModelVector");
}
} // namespace python
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment