Merge pull request #297 from haraldreingruber-dedalus/fix-loading-entities-of-scenegraph-example

Fix loading of entities in scene graph example
This commit is contained in:
Joey de Vries
2022-04-26 18:08:18 +02:00
committed by GitHub

View File

@@ -109,7 +109,6 @@ int main()
for (unsigned int i = 0; i < 10; ++i)
{
Model model = Model(FileSystem::getPath("resources/objects/planet/planet.obj"));
lastEntity->addChild(model);
lastEntity = lastEntity->children.back().get();