bugs
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user