Expose debug type into the interface
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 11 Jun 2015 09:27:39 +0000 (11:27 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 11 Jun 2015 12:53:15 +0000 (14:53 +0200)
commit102e18d05cd4a92375aa6b855e560617d76ccb26
tree35cfa4f3e66edfceb93a79cf4b5663809365c146
parent2bd6de5bbb1381fa34bf4df59d9f134dd9ccce91
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.
intern/cycles/blender/addon/ui.py
source/blender/makesdna/DNA_scene_types.h
source/blender/makesrna/RNA_enum_types.h
source/blender/makesrna/intern/rna_render.c
source/blender/makesrna/intern/rna_scene.c
source/blender/render/intern/source/render_result.c