[Bf-blender-cvs] [69efc30bd83] temp-T96710-pbvh-pixels: Fix standalone image output not working when not running in background mode

howetuft noreply at git.blender.org
Fri Apr 8 11:07:45 CEST 2022


Commit: 69efc30bd830ffd457cab47d36598bae5371e28f
Author: howetuft
Date:   Mon Apr 4 14:16:00 2022 +0200
Branches: temp-T96710-pbvh-pixels
https://developer.blender.org/rB69efc30bd830ffd457cab47d36598bae5371e28f

Fix standalone image output not working when not running in background mode

Differential Revision: https://developer.blender.org/D14471

===================================================================

M	intern/cycles/app/cycles_standalone.cpp

===================================================================

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));
   }



More information about the Bf-blender-cvs mailing list