Commit 02e26d16 authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

[Python] Change storage type of MeshLoader

parent db39da48
......@@ -62,7 +62,7 @@ void exposeMeshLoader ()
if(!eigenpy::register_symbolic_link_to_registered_type<MeshLoader>())
{
class_ <MeshLoader> ("MeshLoader",
class_ <MeshLoader, boost::shared_ptr<MeshLoader> > ("MeshLoader",
doxygen::class_doc<MeshLoader>(),
init< optional< NODE_TYPE> >(arg("node_type"),
doxygen::constructor_doc<MeshLoader, const NODE_TYPE&>()))
......@@ -74,7 +74,7 @@ void exposeMeshLoader ()
if(!eigenpy::register_symbolic_link_to_registered_type<CachedMeshLoader>())
{
class_ <CachedMeshLoader, bases<MeshLoader> > (
class_ <CachedMeshLoader, bases<MeshLoader>, boost::shared_ptr<CachedMeshLoader> > (
"CachedMeshLoader",
doxygen::class_doc<MeshLoader>(),
init< optional< NODE_TYPE> >(arg("node_type"),
......
Supports Markdown
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