File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
include/pinocchio/bindings/python/multibody Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -262,6 +262,8 @@ namespace pinocchio
262262 .def (bp::self != bp::self)
263263#endif
264264 ;
265+
266+ bp::register_ptr_to_python<std::shared_ptr<Data>>();
265267 }
266268
267269 /* --- Expose --------------------------------------------------------- */
Original file line number Diff line number Diff line change @@ -142,6 +142,8 @@ namespace pinocchio
142142 .def (bp::self != bp::self)
143143
144144 ;
145+
146+ bp::register_ptr_to_python<std::shared_ptr<GeometryData>>();
145147 }
146148
147149 /* --- Expose --------------------------------------------------------- */
Original file line number Diff line number Diff line change @@ -108,6 +108,8 @@ namespace pinocchio
108108
109109 .def (bp::self == bp::self)
110110 .def (bp::self != bp::self);
111+
112+ bp::register_ptr_to_python<std::shared_ptr<GeometryModel>>();
111113 }
112114
113115 static GeometryData createData (const GeometryModel & geomModel)
You can’t perform that action at this time.
0 commit comments