diff options
author | Ton Roosendaal <ton@blender.org> | 2008-10-08 20:50:06 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-10-08 20:50:06 +0400 |
commit | 63fb5864966656a41870008fc91c43d9d81760a7 (patch) | |
tree | 467dc1cf3733b2c7ca25ecadd75f6455db0e1913 | |
parent | 5fd6e7e1b79271cb450c21a0632d93f4b4a68ab1 (diff) |
Bugfix #17778
COmpositor: Multilayer images in Image input node could crash on
making icon previews for the browse menu.
-rw-r--r-- | source/blender/blenkernel/intern/image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/image.c b/source/blender/blenkernel/intern/image.c index 18570515057..d5166fc7a83 100644 --- a/source/blender/blenkernel/intern/image.c +++ b/source/blender/blenkernel/intern/image.c @@ -1571,7 +1571,7 @@ static ImBuf *image_load_sequence_multilayer(Image *ima, ImageUser *iuser, int f ibuf->channels= rpass->channels; image_initialize_after_load(ima, ibuf); - image_assign_ibuf(ima, ibuf, iuser->multi_index, frame); + image_assign_ibuf(ima, ibuf, iuser?iuser->multi_index:0, frame); } // else printf("pass not found\n"); |