This commit is contained in:
2023-02-14 15:06:48 +03:00
parent 12695983d2
commit 69caa98d04
7 changed files with 79 additions and 6 deletions

View File

@@ -440,6 +440,7 @@ void Scene::prepareTree(ObjectBase * o) {
case ObjectBase::glLight: {
Light * l = globject_cast<Light *>(co);
lights_used[l->light_type] << l;
if (l->light_map._changed) need_reload_materials = true;
} break;
case ObjectBase::glMesh:
if (co->mesh()) {