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:
authorJoshua Leung <aligorith@gmail.com>2010-02-28 05:17:07 +0300
committerJoshua Leung <aligorith@gmail.com>2010-02-28 05:17:07 +0300
commite51bcbae6230882eb2c5b16974b86a906b398408 (patch)
tree08dc7851e0127532d9169466134e7e984805ab2c /source/blender/imbuf/intern
parent4ad5d16053876b3a8d55e3750e8f3132b12bbe8a (diff)
Fix for crash in imbuf code under certain circumstances on linux.
Diffstat (limited to 'source/blender/imbuf/intern')
-rw-r--r--source/blender/imbuf/intern/divers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/divers.c b/source/blender/imbuf/intern/divers.c
index f6ad69c50eb..8ed70b5509f 100644
--- a/source/blender/imbuf/intern/divers.c
+++ b/source/blender/imbuf/intern/divers.c
@@ -270,7 +270,7 @@ void IMB_float_from_rect(struct ImBuf *ibuf)
if(to==NULL) return;
if(tof==NULL) {
- imb_addrectfloatImBuf(ibuf);
+ if (imb_addrectfloatImBuf(ibuf) == 0) return;
tof = ibuf->rect_float;
}