[Bf-blender-cvs] [bcb89f0b967] gsoc-2018-many-light-sampling: Fix: Minimal compilation error fix

Erik Englesson noreply at git.blender.org
Mon Jun 4 11:11:35 CEST 2018


Commit: bcb89f0b967837ee5c05e0641b91c7ac8712fb9b
Author: Erik Englesson
Date:   Mon Jun 4 11:10:08 2018 +0200
Branches: gsoc-2018-many-light-sampling
https://developer.blender.org/rBbcb89f0b967837ee5c05e0641b91c7ac8712fb9b

Fix: Minimal compilation error fix

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

M	intern/cycles/render/light_tree.h

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

diff --git a/intern/cycles/render/light_tree.h b/intern/cycles/render/light_tree.h
index e65fd00a5e9..93ccde3d3b1 100644
--- a/intern/cycles/render/light_tree.h
+++ b/intern/cycles/render/light_tree.h
@@ -91,9 +91,9 @@ struct CompactNode {
     CompactNode():
     energy(0.0f), secondChildOffset(-1), prim_id(-1), nemitters(-1), bounds_w(BoundBox::empty)
     {
-        axis = make_float3(0.0f);
-        theta_o = 0.0f;
-        theta_e = 0.0f;
+        bounds_o.axis = make_float3(0.0f);
+        bounds_o.theta_o = 0.0f;
+        bounds_o.theta_e = 0.0f;
     }
 
     float energy;



More information about the Bf-blender-cvs mailing list