diff --git a/Sofa/framework/Core/src/sofa/core/CollisionModel.cpp b/Sofa/framework/Core/src/sofa/core/CollisionModel.cpp index bbdd8ffde99..0bf883450e9 100644 --- a/Sofa/framework/Core/src/sofa/core/CollisionModel.cpp +++ b/Sofa/framework/Core/src/sofa/core/CollisionModel.cpp @@ -145,6 +145,13 @@ void CollisionModel::setPrevious(CollisionModel::SPtr val) val->next.set(this); } +void CollisionModel::computeContinuousBoundingTree(SReal dt, ContinuousIntersectionTypeFlag continuousIntersectionFlag, int maxDepth) +{ + SOFA_UNUSED(dt); + SOFA_UNUSED(continuousIntersectionFlag); + computeBoundingTree(maxDepth); +} + void CollisionModel::draw(const core::visual::VisualParams* vparams) { // don't draw if the component is not in valid state diff --git a/Sofa/framework/Core/src/sofa/core/CollisionModel.h b/Sofa/framework/Core/src/sofa/core/CollisionModel.h index 9157e4bc178..e7ef4c9780e 100644 --- a/Sofa/framework/Core/src/sofa/core/CollisionModel.h +++ b/Sofa/framework/Core/src/sofa/core/CollisionModel.h @@ -220,7 +220,7 @@ class SOFA_CORE_API CollisionModel : public virtual objectmodel::BaseObject /// within the given timestep. /// /// Default to computeBoundingTree(). - virtual void computeContinuousBoundingTree(SReal /*dt*/, ContinuousIntersectionTypeFlag continuousIntersectionFlag = ContinuousIntersectionTypeFlag::Inertia, int maxDepth=0) { computeBoundingTree(maxDepth); } + virtual void computeContinuousBoundingTree(SReal dt, ContinuousIntersectionTypeFlag continuousIntersectionFlag = ContinuousIntersectionTypeFlag::Inertia, int maxDepth=0); /// \brief Return the list (as a pair of iterators) of internal children of /// an element.