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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-06-26 16:04:44 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-06-26 16:06:49 +0300
commit6d22633a96a4ef18051ba6a937ed9c1d1e5d967c (patch)
tree47932a6db0f16f3bf6c59420b251b9c50c3ac82e /source/blender/editors/space_image
parent4f386999ea92ad0f22bffa151581cf5c615c660b (diff)
Fix T66137: added normal map for painting has wrong color space until refresh
Diffstat (limited to 'source/blender/editors/space_image')
-rw-r--r--source/blender/editors/space_image/image_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_image/image_ops.c b/source/blender/editors/space_image/image_ops.c
index 9eda7ffdc34..96eaa89d175 100644
--- a/source/blender/editors/space_image/image_ops.c
+++ b/source/blender/editors/space_image/image_ops.c
@@ -2499,7 +2499,7 @@ static int image_new_exec(bContext *C, wmOperator *op)
}
ima = BKE_image_add_generated(
- bmain, width, height, name, alpha ? 32 : 24, floatbuf, gen_type, color, stereo3d);
+ bmain, width, height, name, alpha ? 32 : 24, floatbuf, gen_type, color, stereo3d, false);
if (!ima) {
image_new_free(op);