diff options
author | howetuft <howetuft> | 2022-04-04 15:16:00 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-04-06 22:30:10 +0300 |
commit | fcf06d2ad7cac89cd5b7faa1d27bf23230fababc (patch) | |
tree | 59e88d6e91a448d173974ff9a55ee73f5245ce34 /intern/cycles/app/cycles_standalone.cpp | |
parent | 013d0631e6842230b6043742289bc05de66f6402 (diff) |
Fix standalone image output not working when not running in background mode
Differential Revision: https://developer.blender.org/D14471
Diffstat (limited to 'intern/cycles/app/cycles_standalone.cpp')
-rw-r--r-- | intern/cycles/app/cycles_standalone.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/app/cycles_standalone.cpp b/intern/cycles/app/cycles_standalone.cpp index ef20f64debd..ed512aa2330 100644 --- a/intern/cycles/app/cycles_standalone.cpp +++ b/intern/cycles/app/cycles_standalone.cpp @@ -121,9 +121,9 @@ static void session_init() options.session->set_display_driver(make_unique<OpenGLDisplayDriver>( window_opengl_context_enable, window_opengl_context_disable)); } - else #endif - if (!options.output_filepath.empty()) { + + if (!options.output_filepath.empty()) { options.session->set_output_driver(make_unique<OIIOOutputDriver>( options.output_filepath, options.output_pass, session_print)); } |