Add render result caching.

Simply add an option to render settings to save an EXR cache,
just when the render is finished. Also changed RE_ReadRenderResult() to read
cache instead of temp sample files (those are fully volatile now anyway).

Path to save cached render results is an UserPreferences setting.

Also added 'Reload render' feature to the Image Editor (so one can now re-open a blend,
and in an Image Editor hit ctrl-R to (try to) reload last render from cache).

Reviewers: campbellbarton, sergey

Differential Revision: https://developer.blender.org/D553
This commit is contained in:
Bastien Montagne
2014-06-28 19:13:54 +02:00
parent 0caee7843e
commit 78cdc707ab
14 changed files with 149 additions and 13 deletions

View File

@@ -154,6 +154,8 @@ class IMAGE_MT_image(Menu):
show_render = sima.show_render
layout.operator("image.read_renderlayers")
if ima:
if not show_render:
layout.operator("image.replace")