diff options
author | Ton Roosendaal <ton@blender.org> | 2010-12-05 15:32:58 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2010-12-05 15:32:58 +0300 |
commit | 2567a0ef52be1d1bdd4911dc2b7123a870819b45 (patch) | |
tree | 6034b97fc72031defc54fc6a6507274ceb45264a /source/blender/imbuf/intern/divers.c | |
parent | c98f5b2e4b3e1cc123ad0485a9d36e83cbeabb33 (diff) |
Bugfix #25041
Sequencer crash when combining a scene strip with image strip and cross.
Code lacked proper check for byte buffer in scene...
Diffstat (limited to 'source/blender/imbuf/intern/divers.c')
-rw-r--r-- | source/blender/imbuf/intern/divers.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |