Cycles: fix crash deleting emitting objects.
[blender.git] / intern / cycles / render / object.cpp
index 1059254d5c48147be52c15ac1825c16eec225b10..fec1ab7f4c8ab66678370344d0c9d0e1dc371017 100644 (file)
@@ -241,6 +241,7 @@ void ObjectManager::tag_update(Scene *scene)
 {
        need_update = true;
        scene->mesh_manager->need_update = true;
+       scene->light_manager->need_update = true;
 }
 
 CCL_NAMESPACE_END