forked from bartvdbraak/blender
Fix T41267: Wrong light distribution with when having objects with motion blur
This commit is contained in:
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user