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:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-09-25 12:42:24 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-09-25 12:42:24 +0400
commit90a5e8593c2c4effe80700ce70c4aa4334582278 (patch)
tree58bf4c3d7f49a4c80a1303c07e5dbcb6b93b9fd8 /source/blender/blenkernel/intern
parent3cf59bce789ecdb74a8806f73f88f14e0db1114d (diff)
Color Management: float generated images had is_data flag set incorrect
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r--source/blender/blenkernel/intern/image.c2
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);