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 04:06:54 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-11-22 04:06:54 +0400
commit6d6f1b0b4d32d3396be813cdba82830a9c95295a (patch)
tree78813cb6889c315286cd7de2443da02487021843 /source/blender/editors/space_image/image_buttons.c
parent8992ed9cdd17b641801e14615800e0e3b5e7f464 (diff)
display quality for avijpeg, name BKE_imtype functions more sensibly
Diffstat (limited to 'source/blender/editors/space_image/image_buttons.c')
-rw-r--r--source/blender/editors/space_image/image_buttons.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_image/image_buttons.c b/source/blender/editors/space_image/image_buttons.c
index 54ee92a4413..892ab9daf25 100644
--- a/source/blender/editors/space_image/image_buttons.c
+++ b/source/blender/editors/space_image/image_buttons.c
@@ -821,7 +821,7 @@ void uiTemplateImageSettings(uiLayout *layout, PointerRNA *imfptr)
{
ImageFormatData *imf= imfptr->data;
ID *id= imfptr->id.data;
- const int depth_ok= BKE_imtype_is_depth_ok(imf->imtype);
+ const int depth_ok= BKE_imtype_valid_depths(imf->imtype);
/* some settings depend on this being a scene thats rendered */
const short is_render_out= (id && GS(id->name) == ID_SCE);
@@ -847,15 +847,15 @@ void uiTemplateImageSettings(uiLayout *layout, PointerRNA *imfptr)
uiItemR(row, imfptr, "color_depth", UI_ITEM_R_EXPAND, NULL, ICON_NONE);
}
- if (BKE_imtype_is_quality_ok(imf->imtype)) {
+ if (BKE_imtype_supports_quality(imf->imtype)) {
uiItemR(col, imfptr, "quality", 0, NULL, ICON_NONE);
}
- if (BKE_imtype_is_compression_ok(imf->imtype)) {
+ if (BKE_imtype_supports_compress(imf->imtype)) {
uiItemR(col, imfptr, "compression", 0, NULL, ICON_NONE);
}
- if (BKE_imtype_is_zbuf_ok(imf->imtype)) {
+ if (BKE_imtype_supports_zbuf(imf->imtype)) {
uiItemR(col, imfptr, "use_zbuffer", 0, NULL, ICON_NONE);
}