diff options
Diffstat (limited to 'src/render/jobs/framecleanupjob.cpp')
-rw-r--r-- | src/render/jobs/framecleanupjob.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/jobs/framecleanupjob.cpp b/src/render/jobs/framecleanupjob.cpp index 3105f547c..7ebe31531 100644 --- a/src/render/jobs/framecleanupjob.cpp +++ b/src/render/jobs/framecleanupjob.cpp @@ -91,11 +91,12 @@ void FrameCleanupJob::updateBoundingVolumesDebug(Entity *node) debugBV->setRadius(s.radius()); debugBV->setCenter(s.center()); } -#endif + const auto children = node->children(); for (Entity *c : children) updateBoundingVolumesDebug(c); +#endif } void FrameCleanupJob::setManagers(NodeManagers *managers) |