From cc6a1919340bbc11b6ccd9ed4900f6f1e8e12d47 Mon Sep 17 00:00:00 2001 From: Ashton Larkin Date: Wed, 22 Sep 2021 01:02:14 -0400 Subject: [PATCH] add TODO note for supporting nested models Signed-off-by: Ashton Larkin --- src/systems/label/Label.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/systems/label/Label.cc b/src/systems/label/Label.cc index 43a08e3099..f30a6219b6 100644 --- a/src/systems/label/Label.cc +++ b/src/systems/label/Label.cc @@ -71,6 +71,10 @@ void Label::Configure(const Entity &_entity, } else if (_ecm.EntityHasComponentType(_entity, components::Model::typeId)) { + // TODO(anyone) add support for nested models. We will need to check for + // child models and their respective links/visuals + // https://github.com/ignitionrobotics/ign-gazebo/issues/1041 + // Get link childern of parent model auto links = _ecm.ChildrenByComponents( _entity, components::Link());