Fix T41267: Wrong light distribution with when having objects with motion blur

This commit is contained in:
Sergey Sharybin 2014-08-21 17:56:25 +06:00
parent 7ef925752c
commit 2e5e1e2028

@ -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) {