File tree Expand file tree Collapse file tree
src/BeamAdapter/component/constraint Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -99,31 +99,3 @@ template class SOFA_BEAMADAPTER_API AdaptiveBeamSlidingConstraint<Rigid3Types>;
9999// /////////////////////////////////////////////////////////////////////////////////////////////////
100100
101101} // namespace sofa::component::constraintset::_adaptiveBeamSlidingConstraint_
102-
103-
104- // /////////////////////////////// DEPRECATION MANAGEMENT FOR BACKWARD COMPATIBILITY ///////////////////
105- class AdaptiveBeamConstraint : public DeprecatedComponent
106- {
107- public:
108- // / Pre-construction check method called by ObjectFactory.
109- template <class T >
110- static bool canCreate (T* obj, BaseContext* context, BaseObjectDescription* arg)
111- {
112- SOFA_UNUSED (obj) ;
113- SOFA_UNUSED (context) ;
114- SOFA_UNUSED (arg) ;
115-
116- msg_warning (" AdaptiveBeamConstraint" ) << " AdaptiveBeamConstraint is a BeamAdapter v1.0 feature that has been replaced "
117- " by AdaptiveBeamSlidingConstraint. \n "
118- " To remove this error message you either need to: \n "
119- " - replace AdaptiveBeamConstraint with AdaptiveBeamSlidingConstraint\n "
120- " - or use the BeamAdapter plugin v1.0 \n " ;
121- return false ;
122- }
123- } ;
124-
125- // Registering the component
126- // see: http://wiki.sofa-framework.org/wiki/ObjectFactory
127- static int AdaptiveBeamConstraintClass = RegisterObject(" AdaptiveBeamConstraint is now a deprecated and should be replaced with AdaptiveBeamSlidingConstraint" )
128- .add< AdaptiveBeamConstraint >()
129- ;
You can’t perform that action at this time.
0 commit comments