From 39e475315769ed20a77e5c2e8ff1e3fb32795f30 Mon Sep 17 00:00:00 2001 From: Steve Peters Date: Mon, 7 Aug 2023 13:18:31 -0700 Subject: [PATCH] Revert changes that change public ABI Continue passing Vector3 by value to AttachEllipsoidShape on garden. This has already been changed to pass by const ref on main. Signed-off-by: Steve Peters --- dartsim/src/ShapeFeatures.cc | 2 +- dartsim/src/ShapeFeatures.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dartsim/src/ShapeFeatures.cc b/dartsim/src/ShapeFeatures.cc index 8b42a0dbb..dfbf01277 100644 --- a/dartsim/src/ShapeFeatures.cc +++ b/dartsim/src/ShapeFeatures.cc @@ -252,7 +252,7 @@ Vector3d ShapeFeatures::GetEllipsoidShapeRadii( Identity ShapeFeatures::AttachEllipsoidShape( const Identity &_linkID, const std::string &_name, - const Vector3d &_radii, + const Vector3d _radii, const Pose3d &_pose) { common::MeshManager *meshMgr = common::MeshManager::Instance(); diff --git a/dartsim/src/ShapeFeatures.hh b/dartsim/src/ShapeFeatures.hh index e83992419..0c4d5370e 100644 --- a/dartsim/src/ShapeFeatures.hh +++ b/dartsim/src/ShapeFeatures.hh @@ -148,7 +148,7 @@ class ShapeFeatures : public: Identity AttachEllipsoidShape( const Identity &_linkID, const std::string &_name, - const Vector3d &_radii, + const Vector3d _radii, const Pose3d &_pose) override; // ----- Sphere Features -----