From dd4c2524606a4fabe5be5232d028554b94f68bff Mon Sep 17 00:00:00 2001 From: Alex Bilger Date: Fri, 3 May 2024 09:10:45 +0200 Subject: [PATCH] [CollisionOBBCapsule] Fix duplicated registration in the factory (#4709) --- .../src/CollisionOBBCapsule/geometry/CapsuleModel.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/applications/plugins/CollisionOBBCapsule/src/CollisionOBBCapsule/geometry/CapsuleModel.cpp b/applications/plugins/CollisionOBBCapsule/src/CollisionOBBCapsule/geometry/CapsuleModel.cpp index 5d840bc3c48..0a953579c8b 100644 --- a/applications/plugins/CollisionOBBCapsule/src/CollisionOBBCapsule/geometry/CapsuleModel.cpp +++ b/applications/plugins/CollisionOBBCapsule/src/CollisionOBBCapsule/geometry/CapsuleModel.cpp @@ -30,7 +30,6 @@ using namespace sofa::defaulttype; int CapsuleCollisionModelClass = core::RegisterObject("Collision model which represents a set of Capsules") .add< CapsuleCollisionModel >() - .add< CapsuleCollisionModel >() ; template class COLLISIONOBBCAPSULE_API TCapsule;