diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-09-25 12:42:24 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-09-25 12:42:24 +0400 |
commit | 90a5e8593c2c4effe80700ce70c4aa4334582278 (patch) | |
tree | 58bf4c3d7f49a4c80a1303c07e5dbcb6b93b9fd8 /source/blender/blenkernel/intern/image.c | |
parent | 3cf59bce789ecdb74a8806f73f88f14e0db1114d (diff) |
Color Management: float generated images had is_data flag set incorrect
Diffstat (limited to 'source/blender/blenkernel/intern/image.c')
-rw-r--r-- | source/blender/blenkernel/intern/image.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/image.c b/source/blender/blenkernel/intern/image.c index e73f4fa79af..8b287eb2863 100644 --- a/source/blender/blenkernel/intern/image.c +++ b/source/blender/blenkernel/intern/image.c @@ -619,6 +619,8 @@ static ImBuf *add_ibuf_size(unsigned int width, unsigned int height, const char BLI_strncpy(colorspace_settings->name, colorspace, sizeof(colorspace_settings->name)); } + + IMB_colormanagement_check_is_data(ibuf, colorspace_settings->name); } else { ibuf = IMB_allocImBuf(width, height, depth, IB_rect); |