Commit 53e962bf authored by jcarpent's avatar jcarpent
Browse files

[Parsers] Fix bug in the cast using right caster

parent 2f1d2fa4
......@@ -272,7 +272,7 @@ namespace se3
const boost::shared_ptr<fcl::CollisionGeometry> geometry = retrieveCollisionGeometry((*i)->geometry, package_dirs, meshPath, meshScale);
boost::shared_ptr < ::urdf::Mesh> urdf_mesh = boost::dynamic_pointer_cast< ::urdf::Mesh> ((*i)->geometry);
::urdf::MeshSharedPtr urdf_mesh = ::urdf::dynamic_pointer_cast< ::urdf::Mesh> ((*i)->geometry);
if (urdf_mesh) meshPath = retrieveResourcePath(urdf_mesh->filename, package_dirs);
const boost::shared_ptr<fcl::CollisionGeometry> geometry(new fcl::CollisionGeometry());
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