Render: Free persistent image storage when loading new file

This commit is contained in:
2015-09-21 18:41:36 +05:00
parent 7b9bd5b546
commit 0dbde559cf
3 changed files with 16 additions and 0 deletions

View File

@@ -417,6 +417,7 @@ static void setup_app_data(bContext *C, BlendFileData *bfd, const char *filepath
BKE_scene_set_background(G.main, curscene);
if (mode != LOAD_UNDO) {
RE_FreeAllPersistentData();
IMB_colormanagement_check_file_config(G.main);
}