diff options
author | Ton Roosendaal <ton@blender.org> | 2008-05-18 11:30:51 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-05-18 11:30:51 +0400 |
commit | aba4f3108683740e9e7c96c3ce558c2ef62d3b1b (patch) | |
tree | a10b97df540f7a1f3087c76f6febc7bba056383f /source/blender/src/editnode.c | |
parent | d3f7fba472cd83940a1374a9e0df79922599369d (diff) |
Bugfix 11736
CTRL+Click on "load" for image node crashed.
NULL pointer test missing...
Diffstat (limited to 'source/blender/src/editnode.c')
-rw-r--r-- | source/blender/src/editnode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editnode.c b/source/blender/src/editnode.c index 6a703eaabde..afafc4f2590 100644 --- a/source/blender/src/editnode.c +++ b/source/blender/src/editnode.c @@ -198,7 +198,7 @@ static int image_detect_file_sequence(int *start_p, int *frames_p, char *str) unsigned short numlen; sfile= scrarea_find_space_of_type(curarea, SPACE_FILE); - if(sfile==0) + if(sfile==NULL || sfile->filelist==NULL) return 0; /* find first frame */ |