forked from bartvdbraak/blender
Fix for crash in imbuf code under certain circumstances on linux.
This commit is contained in:
parent
4ad5d16053
commit
e51bcbae62
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user