Cycles: fix crash deleting emitting objects.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 16 Sep 2011 12:59:22 +0000 (12:59 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 16 Sep 2011 12:59:22 +0000 (12:59 +0000)
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