diff options
author | howetuft <howetuft> | 2022-04-04 15:16:00 +0300 |
---|---|---|
committer | Fabian Schempp <fabianschempp@googlemail.com> | 2022-04-11 01:31:59 +0300 |
commit | 0380c0ef3b3971570ee754fc3542e99a0ab03878 (patch) | |
tree | 3c012edbc3a2357f14e40c636c3077ceb1baefcf | |
parent | deee28d8a9c940798c8e48c77bea101222c3d01b (diff) |
Fix standalone image output not working when not running in background mode
Differential Revision: https://developer.blender.org/D14471
-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)); } |