From 885b8ad08cfcefba4b95ec9028fa1e25df2fe171 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 9 May 2021 11:22:19 +0300 Subject: [PATCH] Add OccludedScene to the registered scene types --- source/render/scene.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/render/scene.cpp b/source/render/scene.cpp index 70a9e94b..cec2683a 100644 --- a/source/render/scene.cpp +++ b/source/render/scene.cpp @@ -1,6 +1,7 @@ #include #include "camera.h" #include "objectinstance.h" +#include "occludedscene.h" #include "orderedscene.h" #include "renderer.h" #include "scene.h" @@ -86,8 +87,7 @@ Scene::SceneRegistry &Scene::get_scene_registry() register_type("simple"); register_type("zsorted"); register_type("ordered"); - // TODO OccludedScene requires a collection as a constructor parameter - //register_type("occluded"); + register_type("occluded"); } return registry; } -- 2.45.2