diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-01-21 17:12:17 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-01-21 17:12:17 +0300 |
commit | 3fd92b5c224b4a5ba274514a62643f8d7df644d9 (patch) | |
tree | 574ff4f4db6857618c8d3c442d3acb0c9456c166 | |
parent | 84702bd3d8aecb0ff546c5f0805651c2426644e7 (diff) |
Fix T83344: Cycles baking + progressive refine fails
-rw-r--r-- | intern/cycles/render/session.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/render/session.cpp b/intern/cycles/render/session.cpp index d0ab3445549..70b140ee9c6 100644 --- a/intern/cycles/render/session.cpp +++ b/intern/cycles/render/session.cpp @@ -559,7 +559,7 @@ bool Session::acquire_tile(RenderTile &rtile, Device *tile_device, uint tile_typ if (read_bake_tile_cb) { /* This will read any passes needed as input for baking. */ - { + if (tile_manager.state.sample == tile_manager.range_start_sample) { thread_scoped_lock tile_lock(tile_mutex); read_bake_tile_cb(rtile); } |