No need to loop over all the segments to find the head. The method ma::Node::findChild is designed for that.
No need to loop over all the segments to find the head. The method ma::Node::findChild is designed for that.

OpenMA/openma,OpenMA/openma,OpenMA/openma,OpenMA/openma