diff --git a/src/graphics/draw_calls.cpp b/src/graphics/draw_calls.cpp index 6c7a4aea0..a452d7519 100644 --- a/src/graphics/draw_calls.cpp +++ b/src/graphics/draw_calls.cpp @@ -147,9 +147,9 @@ void DrawCalls::parseSceneManager(core::list &List, node->updateVisibility(); if (SP::sp_first_frame) { - for (auto* node : node->getAllNodes()) + for (auto* child_node : node->getAllNodes()) { - node->setVisible(true); + child_node->setVisible(true); } } }