Fix T40751 preview image not generated after baking.

A DAG_id_tag_update here is enough to fix the problem.
This commit is contained in:
2014-09-19 15:36:49 +02:00
parent d76d3144b4
commit f2c8209756
3 changed files with 7 additions and 2 deletions

View File

@@ -42,6 +42,7 @@
#include "BLI_threads.h"
#include "BKE_ccg.h"
#include "BKE_depsgraph.h"
#include "BKE_global.h"
#include "BKE_image.h"
#include "BKE_multires.h"
@@ -1297,6 +1298,7 @@ static void finish_images(MultiresBakeRender *bkr, MultiresBakeResult *result)
}
BKE_image_release_ibuf(ima, ibuf, NULL);
DAG_id_tag_update(&ima->id, 0);
}
}