From 0608b72da759a8a0dccd0898f9cfe6fc8bb5c619 Mon Sep 17 00:00:00 2001 From: Justin Carpentier <justin.carpentier@inria.fr> Date: Tue, 28 Jan 2020 11:55:51 +0100 Subject: [PATCH] core/loader: add default value to MeshLoader::load --- include/hpp/fcl/mesh_loader/loader.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/hpp/fcl/mesh_loader/loader.h b/include/hpp/fcl/mesh_loader/loader.h index 5039bc05..616e5368 100644 --- a/include/hpp/fcl/mesh_loader/loader.h +++ b/include/hpp/fcl/mesh_loader/loader.h @@ -4,6 +4,7 @@ * Copyright (c) 2011-2014, Willow Garage, Inc. * Copyright (c) 2014-2015, Open Source Robotics Foundation * Copyright (c) 2016, CNRS - LAAS + * Copyright (c) 2020, INRIA * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -64,7 +65,7 @@ namespace fcl { } virtual BVHModelPtr_t load (const std::string& filename, - const Vec3f& scale); + const Vec3f& scale = Vec3f::Ones()); MeshLoader (const NODE_TYPE& bvType = BV_OBBRSS) : bvType_ (bvType) {} -- GitLab