forked from bartvdbraak/blender
Fix cycles standalone not saving renders in background mode.
This commit is contained in:
parent
dcec99734b
commit
2ab9a0ff09
@ -19,7 +19,7 @@
|
||||
bl_info = {
|
||||
"name": "Cycles Render Engine",
|
||||
"author": "",
|
||||
"blender": (2, 67, 0),
|
||||
"blender": (2, 70, 0),
|
||||
"location": "Info header, render engine menu",
|
||||
"description": "Cycles Render Engine integration",
|
||||
"warning": "",
|
||||
|
@ -50,7 +50,7 @@ Session::Session(const SessionParams& params_)
|
||||
|
||||
device = Device::create(params.device, stats, params.background);
|
||||
|
||||
if(params.background) {
|
||||
if(params.background && params.output_path.empty()) {
|
||||
buffers = NULL;
|
||||
display = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user