[Bf-blender-cvs] [977682e0ae4] cycles-x: Fix possible infnite loops at the end of Cycles X rendering

Sergey Sharybin noreply at git.blender.org
Fri Sep 10 10:42:39 CEST 2021


Commit: 977682e0ae43a709329c0d258914f2d80e4014fc
Author: Sergey Sharybin
Date:   Fri Sep 10 10:40:38 2021 +0200
Branches: cycles-x
https://developer.blender.org/rB977682e0ae43a709329c0d258914f2d80e4014fc

Fix possible infnite loops at the end of Cycles X rendering

Caused by uninitialized variable.

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

M	intern/cycles/integrator/render_scheduler.h

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

diff --git a/intern/cycles/integrator/render_scheduler.h b/intern/cycles/integrator/render_scheduler.h
index a92fb8d862f..9c9e758c8c3 100644
--- a/intern/cycles/integrator/render_scheduler.h
+++ b/intern/cycles/integrator/render_scheduler.h
@@ -70,7 +70,7 @@ class RenderWork {
   struct {
     /* Write full render result.
      * Implies reading the partial file from disk. */
-    bool write;
+    bool write = false;
 
     bool denoise = false;
   } full;



More information about the Bf-blender-cvs mailing list