Fix T41267: Wrong light distribution with when having objects with motion blur
This commit is contained in:
parent
7ef925752c
commit
2e5e1e2028
Notes:
blender-bot
2023-02-14 10:16:34 +01:00
Referenced by issue #41532, Some files bounce back and forth between 'packing BVH nodes' and 'Copying Transforms to Device' Referenced by issue #41267, Cycles: lighting flick
|
@ -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