diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-22 14:04:28 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-22 14:04:28 +0400 |
commit | fd742566a62151c1f2ed1f009782fc8a881fbf5a (patch) | |
tree | 6eeeee50853fef8169326150b2ad698c1a9fb23e /source/blender/editors | |
parent | b473aeb1d16163374951156bac422aa06efbb022 (diff) |
- use cache_ as a prefix for new modifiers.
- some comments to recent image changes.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_image/image_buttons.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/space_image/image_buttons.c b/source/blender/editors/space_image/image_buttons.c index c1ddad3c012..11a9c0d8d40 100644 --- a/source/blender/editors/space_image/image_buttons.c +++ b/source/blender/editors/space_image/image_buttons.c @@ -855,16 +855,16 @@ void uiTemplateImageSettings(uiLayout *layout, PointerRNA *imfptr) uiItemR(col, imfptr, "compression", 0, NULL, ICON_NONE); } + if (ELEM(imf->imtype, R_IMF_IMTYPE_OPENEXR, R_IMF_IMTYPE_MULTILAYER)) { + uiItemR(col, imfptr, "exr_codec", 0, NULL, ICON_NONE); + } + if (BKE_imtype_supports_zbuf(imf->imtype)) { uiItemR(col, imfptr, "use_zbuffer", 0, NULL, ICON_NONE); } - if (ELEM(imf->imtype, R_IMF_IMTYPE_OPENEXR, R_IMF_IMTYPE_MULTILAYER)) { - uiItemR(col, imfptr, "exr_codec", 0, NULL, ICON_NONE); - - if (is_render_out && (imf->imtype == R_IMF_IMTYPE_OPENEXR)) { - uiItemR(col, imfptr, "use_preview", 0, NULL, ICON_NONE); - } + if (is_render_out && (imf->imtype == R_IMF_IMTYPE_OPENEXR)) { + uiItemR(col, imfptr, "use_preview", 0, NULL, ICON_NONE); } if (imf->imtype == R_IMF_IMTYPE_JP2) { |