Fix T91867: Error reading tiles with Persistent Data ON

This commit is contained in:
Sergey Sharybin 2021-10-04 11:53:46 +02:00
parent 87a3cb3bff
commit 37003cbbc1
Notes: blender-bot 2023-02-14 11:01:33 +01:00
Referenced by issue #91867, Error reading tiles
1 changed files with 4 additions and 0 deletions

View File

@ -504,6 +504,10 @@ void BlenderSession::render_frame_finish()
/* Clear driver. */
session->set_output_driver(nullptr);
session->full_buffer_written_cb = function_null;
/* All the files are handled.
* Clear the list so that this session can be re-used by Persistent Data. */
full_buffer_files_.clear();
}
static PassType bake_type_to_pass(const string &bake_type_str, const int bake_filter)