Fix T78662: Cycles baking fails if denoising is enabled, after recent changes
This is not supported yet.
This commit is contained in:
parent
6fbacd6048
commit
3dc0178390
|
@ -181,8 +181,8 @@ class CPUDevice : public Device {
|
||||||
#ifdef WITH_OPENIMAGEDENOISE
|
#ifdef WITH_OPENIMAGEDENOISE
|
||||||
oidn::DeviceRef oidn_device;
|
oidn::DeviceRef oidn_device;
|
||||||
oidn::FilterRef oidn_filter;
|
oidn::FilterRef oidn_filter;
|
||||||
thread_spin_lock oidn_task_lock;
|
|
||||||
#endif
|
#endif
|
||||||
|
thread_spin_lock oidn_task_lock;
|
||||||
|
|
||||||
bool use_split_kernel;
|
bool use_split_kernel;
|
||||||
|
|
||||||
|
|
|
@ -1128,6 +1128,11 @@ bool Session::render_need_denoise(bool &delayed)
|
||||||
{
|
{
|
||||||
delayed = false;
|
delayed = false;
|
||||||
|
|
||||||
|
/* Not supported yet for baking. */
|
||||||
|
if (read_bake_tile_cb) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
/* Denoising enabled? */
|
/* Denoising enabled? */
|
||||||
if (!params.denoising.need_denoising_task()) {
|
if (!params.denoising.need_denoising_task()) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue