diff options
Diffstat (limited to 'intern/cycles/render/light.cpp')
-rw-r--r-- | intern/cycles/render/light.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/intern/cycles/render/light.cpp b/intern/cycles/render/light.cpp index 29160e64082..cfc4f55ed5e 100644 --- a/intern/cycles/render/light.cpp +++ b/intern/cycles/render/light.cpp @@ -159,6 +159,10 @@ void LightManager::device_update_distribution(Device *device, DeviceScene *dscen if(!(object->visibility & (PATH_RAY_DIFFUSE|PATH_RAY_GLOSSY|PATH_RAY_TRANSMIT))) continue; + /* skip motion blurred deforming meshes, not supported yet */ + if(mesh->has_motion_blur()) + continue; + /* skip if we have no emission shaders */ foreach(uint sindex, mesh->used_shaders) { Shader *shader = scene->shaders[sindex]; @@ -201,6 +205,10 @@ void LightManager::device_update_distribution(Device *device, DeviceScene *dscen continue; } + /* skip motion blurred deforming meshes, not supported yet */ + if(mesh->has_motion_blur()) + continue; + /* skip if we have no emission shaders */ foreach(uint sindex, mesh->used_shaders) { Shader *shader = scene->shaders[sindex]; |