Fix cycles standalone not saving renders in background mode.

This commit is contained in:
Brecht Van Lommel 2014-04-14 14:08:32 +02:00
parent dcec99734b
commit 2ab9a0ff09
2 changed files with 2 additions and 2 deletions

@ -19,7 +19,7 @@
bl_info = { bl_info = {
"name": "Cycles Render Engine", "name": "Cycles Render Engine",
"author": "", "author": "",
"blender": (2, 67, 0), "blender": (2, 70, 0),
"location": "Info header, render engine menu", "location": "Info header, render engine menu",
"description": "Cycles Render Engine integration", "description": "Cycles Render Engine integration",
"warning": "", "warning": "",

@ -50,7 +50,7 @@ Session::Session(const SessionParams& params_)
device = Device::create(params.device, stats, params.background); device = Device::create(params.device, stats, params.background);
if(params.background) { if(params.background && params.output_path.empty()) {
buffers = NULL; buffers = NULL;
display = NULL; display = NULL;
} }