Fix T40429: cycles CUDA + use persistent images problem.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Thu, 5 Jun 2014 15:39:16 +0000 (17:39 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Thu, 5 Jun 2014 16:10:32 +0000 (18:10 +0200)
intern/cycles/render/scene.cpp

index 5a5e01f811d6a6dfeb95241aedb02da0ddf8efea..cf0f0bc1055e632c91df0ed41eb8d6bb59e6108d 100644 (file)
@@ -284,6 +284,11 @@ void Scene::reset()
        film->tag_update(this);
        background->tag_update(this);
        integrator->tag_update(this);
+       object_manager->tag_update(this);
+       mesh_manager->tag_update(this);
+       light_manager->tag_update(this);
+       particle_system_manager->tag_update(this);
+       curve_system_manager->tag_update(this);
 }
 
 void Scene::device_free()