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:
committed by
Nikita Sirgienko
parent
8d2421bcea
commit
2ced22611a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user