From 44b2d1ed1516e43e03e6519d177af5037da0b596 Mon Sep 17 00:00:00 2001 From: Frederick Roy Date: Thu, 14 Dec 2023 15:06:32 +0900 Subject: [PATCH] add mapConstraints to the meta-alias isMechanical --- Sofa/framework/Core/src/sofa/core/BaseMapping.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Sofa/framework/Core/src/sofa/core/BaseMapping.cpp b/Sofa/framework/Core/src/sofa/core/BaseMapping.cpp index ba80f8ab071..b70661fdcec 100644 --- a/Sofa/framework/Core/src/sofa/core/BaseMapping.cpp +++ b/Sofa/framework/Core/src/sofa/core/BaseMapping.cpp @@ -36,6 +36,7 @@ BaseMapping::BaseMapping() , f_mapMatrices(initData(&f_mapMatrices, false, "mapMatrices", "Are matrix explicit mapped?")) { this->addAlias(&f_mapForces, "isMechanical"); + this->addAlias(&f_mapConstraints, "isMechanical"); this->addAlias(&f_mapMasses, "isMechanical"); }