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 /source/blender/makesdna/DNA_scene_types.h | |
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 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_scene_types.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index ef0e98a14c9..397751d85e9 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -689,7 +689,13 @@ typedef struct RenderData { struct BakeData bake; int preview_start_resolution; - int pad; + + /* Type of the debug pass to use. + * Only used when built with debug passes support. + */ + short debug_pass_type; + + short pad; /* MultiView */ ListBase views; |