From f07c5928e7e5ce0ce225094aa10256c9a6566528 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/systems/label/Label.cc b/src/systems/label/Label.cc index 43a08e30992..10df5185f25 100644 --- a/src/systems/label/Label.cc +++ b/src/systems/label/Label.cc @@ -71,6 +71,9 @@ 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 + // Get link childern of parent model auto links = _ecm.ChildrenByComponents( _entity, components::Link());