From 00e61d4f17a591f9632f52aef46242e37cf2084f Mon Sep 17 00:00:00 2001 From: thecssdoom <88057782+thecssdoom@users.noreply.github.com> Date: Sun, 9 Oct 2022 22:04:38 -0300 Subject: [PATCH] Update Instance.cpp --- src/source/DataModelV2/Instance.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/source/DataModelV2/Instance.cpp b/src/source/DataModelV2/Instance.cpp index 4cb1279..ed2d162 100644 --- a/src/source/DataModelV2/Instance.cpp +++ b/src/source/DataModelV2/Instance.cpp @@ -33,6 +33,14 @@ void Instance::render(RenderDevice* rd) } } +void Instance::renderName(RenderDevice* rd) +{ + for(size_t i = 0; i < children.size(); i++) + { + children[i]->renderName(rd); + } +} + void Instance::update() { }