diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2010-08-04 03:55:34 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2010-08-04 03:55:34 +0400 |
commit | ef3824b7133ee4c3337bcfebd7cc1326013a0b76 (patch) | |
tree | 57d1b9d436fb6c5557689d86f4ba569611c89ced /source/blender | |
parent | 44d51f3f6451da9986508fba95c7013e635be098 (diff) |
Add button to set Compression level when output to PNG. Without this there'd be absolute no compression at all = large PNGs.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_node/drawnode.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/drawnode.c b/source/blender/editors/space_node/drawnode.c index 01992d225c7..ad21f9659af 100644 --- a/source/blender/editors/space_node/drawnode.c +++ b/source/blender/editors/space_node/drawnode.c @@ -904,7 +904,10 @@ static void node_composit_buts_file_output(uiLayout *layout, bContext *C, Pointe uiItemR(row, ptr, "exr_codec", 0, "", 0); } else if (RNA_enum_get(ptr, "image_type")== R_JPEG90) { - uiItemR(row, ptr, "quality", UI_ITEM_R_SLIDER, NULL, 0); + uiItemR(row, ptr, "quality", UI_ITEM_R_SLIDER, "Quality", 0); + } + else if (RNA_enum_get(ptr, "image_type")== R_PNG) { + uiItemR(row, ptr, "quality", UI_ITEM_R_SLIDER, "Compression", 0); } row= uiLayoutRow(layout, 1); |