Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-11-22 14:04:28 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-11-22 14:04:28 +0400
commitfd742566a62151c1f2ed1f009782fc8a881fbf5a (patch)
tree6eeeee50853fef8169326150b2ad698c1a9fb23e /source/blender/editors/space_image/image_buttons.c
parentb473aeb1d16163374951156bac422aa06efbb022 (diff)
- use cache_ as a prefix for new modifiers.
- some comments to recent image changes.
Diffstat (limited to 'source/blender/editors/space_image/image_buttons.c')
-rw-r--r--source/blender/editors/space_image/image_buttons.c12
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) {