diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-06-11 12:27:39 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-06-11 15:53:15 +0300 |
commit | 102e18d05cd4a92375aa6b855e560617d76ccb26 (patch) | |
tree | 35cfa4f3e66edfceb93a79cf4b5663809365c146 /intern | |
parent | 2bd6de5bbb1381fa34bf4df59d9f134dd9ccce91 (diff) |
Expose debug type into the interface
This way it is now possible to select which exact debug pass is to be used
by the render engine. Accessible from the Passes panel.
Currently it could only be one debug pass, in the future we can make menus
and image users smarter and support multiple passes of the same type.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/blender/addon/ui.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index 7fa71397271..e643bd4ee5e 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -431,6 +431,9 @@ class CyclesRender_PT_layer_passes(CyclesButtonsPanel, Panel): col.prop(rl, "use_pass_emit", text="Emission") col.prop(rl, "use_pass_environment") + if hasattr(rd, "debug_pass_type"): + layout.prop(rd, "debug_pass_type") + class CyclesRender_PT_views(CyclesButtonsPanel, Panel): bl_label = "Views" |