Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-11-24 11:21:40 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-11-24 11:21:40 +0300
commitfa6bdfd622999fa5f0550f879716a904991b33a6 (patch)
tree697008759db5918e54e82e77c32009ed9c398afa /source/blender/makesdna/DNA_scene_types.h
parent31cc60e76bfa81783e61a7b01586de9547de0174 (diff)
Cycles: Support per-render layer world AO settings
This is sort of extension of existing Use Environment option which now allows to disable AO on the render layer basis. Useful in cases like disabling AO for the background because it might make it too flat and so. Reviewers: juicyfruit, dingto, brecht Reviewed By: brecht Subscribers: eyecandy, venomgfx Differential Revision: https://developer.blender.org/D1633
Diffstat (limited to 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index 02a68aa84ed..2d0a4820a51 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -204,7 +204,8 @@ typedef struct SceneRenderLayer {
#define SCE_LAY_SKY 16
#define SCE_LAY_STRAND 32
#define SCE_LAY_FRS 64
- /* flags between 128 and 0x8000 are set to 1 already, for future options */
+#define SCE_LAY_AO 128
+ /* flags between 256 and 0x8000 are set to 1 already, for future options */
#define SCE_LAY_ALL_Z 0x8000
#define SCE_LAY_XOR 0x10000