mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Cycles: Fix missing adjustment for device, used for denoising
This is a proper fix for the issue worked around in 11d311e300.
Previously, an incorrect condition adjustment of the device info
was done for a preferred device. Now, this change reverts that
condition, and the adjustment is done correctly and unconditionally.
This commit is contained in:
parent
8d2421bcea
commit
2ced22611a
1 changed files with 1 additions and 3 deletions
|
|
@ -156,9 +156,7 @@ DeviceInfo blender_device_info(BL::Preferences &b_preferences,
|
|||
}
|
||||
}
|
||||
|
||||
if (preferences_device != cpu_device) {
|
||||
adjust_device_info(preferences_device, cpreferences, preview);
|
||||
}
|
||||
adjust_device_info(preferences_device, cpreferences, preview);
|
||||
adjust_device_info(cpu_device, cpreferences, preview);
|
||||
|
||||
/* Device, which will be used, according to Settings, Scene preferences and command line
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue