Fix T41267: Wrong light distribution with when having objects with motion blur
This commit is contained in:
@@ -206,8 +206,10 @@ void LightManager::device_update_distribution(Device *device, DeviceScene *dscen
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* skip motion blurred deforming meshes, not supported yet */
|
/* skip motion blurred deforming meshes, not supported yet */
|
||||||
if(mesh->has_motion_blur())
|
if(mesh->has_motion_blur()) {
|
||||||
|
j++;
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
/* skip if we have no emission shaders */
|
/* skip if we have no emission shaders */
|
||||||
foreach(uint sindex, mesh->used_shaders) {
|
foreach(uint sindex, mesh->used_shaders) {
|
||||||
|
Reference in New Issue
Block a user