Commit ab00907b authored by Didier WECKMANN's avatar Didier WECKMANN Committed by Flavien BRIDAULT-LOUCHEZ
Browse files

fix(SPointListRegistration): configuration with mode

parent 41675ec9
......@@ -51,10 +51,12 @@ SPointListRegistration::~SPointListRegistration()
void SPointListRegistration::configuring()
const auto optConfig = this->getConfigTree().get_child_optional("config.<xmlattr>");
const auto configTree = this->getConfigTree();
const auto config = configTree.get_child_optional("config.<xmlattr>");
if (config)
const std::string mode = optConfig->get< std::string >("mode", "rigid");
const std::string mode = config->get< std::string >("mode", "rigid");
if(mode == "rigid")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment