Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-08-21 15:56:25 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-08-21 15:57:02 +0400
commit2e5e1e20282f127a9044e08bc7c2b08e8596a6ee (patch)
tree4aecd89db3585116fb663c4835ed8d3c15298d1a /intern
parent7ef925752cbfad510197197b5317d8cc4fd55c17 (diff)
Fix T41267: Wrong light distribution with when having objects with motion blur
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/render/light.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/intern/cycles/render/light.cpp b/intern/cycles/render/light.cpp
index 9a0a7ead696..94ab82a600e 100644
--- a/intern/cycles/render/light.cpp
+++ b/intern/cycles/render/light.cpp
@@ -206,8 +206,10 @@ void LightManager::device_update_distribution(Device *device, DeviceScene *dscen
}
/* skip motion blurred deforming meshes, not supported yet */
- if(mesh->has_motion_blur())
+ if(mesh->has_motion_blur()) {
+ j++;
continue;
+ }
/* skip if we have no emission shaders */
foreach(uint sindex, mesh->used_shaders) {