From 2567a0ef52be1d1bdd4911dc2b7123a870819b45 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Sun, 5 Dec 2010 12:32:58 +0000 Subject: Bugfix #25041 Sequencer crash when combining a scene strip with image strip and cross. Code lacked proper check for byte buffer in scene... --- source/blender/imbuf/intern/divers.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/imbuf') diff --git a/source/blender/imbuf/intern/divers.c b/source/blender/imbuf/intern/divers.c index f2803737377..65a6ada43fa 100644 --- a/source/blender/imbuf/intern/divers.c +++ b/source/blender/imbuf/intern/divers.c @@ -250,6 +250,8 @@ void IMB_float_from_rect(struct ImBuf *ibuf) /* no profile conversion */ void IMB_float_from_rect_simple(struct ImBuf *ibuf) { + if(ibuf->rect_float==NULL) + imb_addrectfloatImBuf(ibuf); imb_float_from_rect_nonlinear(ibuf, ibuf->rect_float); } -- cgit v1.2.3