diff --git a/Modules/Wrappers/ApplicationEngine/src/otbWrapperParameterGroup.cxx b/Modules/Wrappers/ApplicationEngine/src/otbWrapperParameterGroup.cxx index d49fcf9c647a5b6ab020140c1c76b6ca903e37a6..2ba9ba9307936fba2a190c054c050e69181c696c 100644 --- a/Modules/Wrappers/ApplicationEngine/src/otbWrapperParameterGroup.cxx +++ b/Modules/Wrappers/ApplicationEngine/src/otbWrapperParameterGroup.cxx @@ -788,7 +788,7 @@ ParameterGroup::GetParameterByKey(std::string name, bool follow) } std::string childName = childNameOss.str(); - return parentAsGroup->GetParameterByKey(childName); + return parentAsGroup->GetParameterByKey(childName,follow); } // Handle ChoiceParameter case @@ -823,7 +823,7 @@ ParameterGroup::GetParameterByKey(std::string name, bool follow) } } std::string childName = childNameOss.str(); - return associatedParam->GetParameterByKey(childName); + return associatedParam->GetParameterByKey(childName,follow); } return associatedParam.GetPointer(); }