We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f7361b commit 0f97329Copy full SHA for 0f97329
1 file changed
src/BeamAdapter/component/model/BaseRodSectionMaterial.inl
@@ -47,6 +47,12 @@ void BaseRodSectionMaterial<DataTypes>::init()
47
{
48
this->d_componentState.setValue(sofa::core::objectmodel::ComponentState::Loading);
49
50
+ if(!d_nbBeams.isSet())
51
+ {
52
+ msg_deprecated() << "nbBeams is now required but it was not set. Its value will be copied from nbEdgesCollis as a temporary compatibility solution.";
53
+ d_nbBeams.setValue(d_nbEdgesCollis.getValue());
54
+ }
55
+
56
// Prepare beam sections
57
double r = this->d_radius.getValue();
58
double rInner = this->d_innerRadius.getValue();
0 commit comments