diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-04-13 16:58:12 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-04-13 16:58:12 +0400 |
commit | 88a261c13b8ac203e2a7ea936cd8b277b8a07c9f (patch) | |
tree | 1648b66a0eff11279a52c07cee7f94d4d742b57d /intern/cycles/blender/blender_sync.h | |
parent | 11d24cb58f527884bfbb36fdff70c016d50c919c (diff) |
Cycles: add render layer use environment option to disable world lighting on
individual render layers.
Diffstat (limited to 'intern/cycles/blender/blender_sync.h')
-rw-r--r-- | intern/cycles/blender/blender_sync.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/intern/cycles/blender/blender_sync.h b/intern/cycles/blender/blender_sync.h index bfb530c9f99..db26f304d84 100644 --- a/intern/cycles/blender/blender_sync.h +++ b/intern/cycles/blender/blender_sync.h @@ -107,7 +107,8 @@ private: struct RenderLayerInfo { RenderLayerInfo() : scene_layer(0), layer(0), holdout_layer(0), - material_override(PointerRNA_NULL) + material_override(PointerRNA_NULL), + use_background(true) {} string name; @@ -115,6 +116,7 @@ private: uint layer; uint holdout_layer; BL::Material material_override; + bool use_background; } render_layer; }; |