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>2013-04-02 21:39:34 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-04-02 21:39:34 +0400
commitc4780c233e7eaabfbf2ee4101d4d675f37974471 (patch)
tree38c43adf92360cab8ff255f90d8ee693e97daaa9 /source/blender/imbuf
parent752ad1bc375663f4bab649dd558f7334cbe03a1c (diff)
Fix for potential missing draw-update when building without OCIO
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r--source/blender/imbuf/intern/colormanagement.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/colormanagement.c b/source/blender/imbuf/intern/colormanagement.c
index 1aa8c5af342..3ed69550873 100644
--- a/source/blender/imbuf/intern/colormanagement.c
+++ b/source/blender/imbuf/intern/colormanagement.c
@@ -1847,10 +1847,10 @@ static void imbuf_verify_float(ImBuf *ibuf)
*/
BLI_lock_thread(LOCK_COLORMANAGE);
- if (ibuf->rect_float && (ibuf->rect == NULL || (ibuf->userflags & IB_RECT_INVALID))) {
+ if (ibuf->rect_float && (ibuf->rect == NULL || (ibuf->userflags & (IB_DISPLAY_BUFFER_INVALID | IB_RECT_INVALID)))) {
IMB_rect_from_float(ibuf);
- ibuf->userflags &= ~IB_RECT_INVALID;
+ ibuf->userflags &= ~(IB_RECT_INVALID | IB_DISPLAY_BUFFER_INVALID);
}
BLI_unlock_thread(LOCK_COLORMANAGE);