Commit: 4d05a000cb46f30750b1f2a259bc13d3f55ca33f Author: Weizhen Huang Date: Wed Dec 7 14:45:17 2022 +0100 Branches: master https://developer.blender.org/rB4d05a000cb46f30750b1f2a259bc13d3f55ca33f
Fix light tree header file included while feature disabled =================================================================== M intern/cycles/kernel/light/sample.h =================================================================== diff --git a/intern/cycles/kernel/light/sample.h b/intern/cycles/kernel/light/sample.h index b71d6b8b63c..6a5219c3ae9 100644 --- a/intern/cycles/kernel/light/sample.h +++ b/intern/cycles/kernel/light/sample.h @@ -8,7 +8,10 @@ #include "kernel/light/distribution.h" #include "kernel/light/light.h" -#include "kernel/light/tree.h" + +#ifdef __LIGHT_TREE__ +# include "kernel/light/tree.h" +#endif #include "kernel/sample/mapping.h" #include "kernel/sample/mis.h" _______________________________________________ Bf-blender-cvs mailing list [email protected] List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs
