Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2008-05-18 11:30:51 +0400
committerTon Roosendaal <ton@blender.org>2008-05-18 11:30:51 +0400
commitaba4f3108683740e9e7c96c3ce558c2ef62d3b1b (patch)
treea10b97df540f7a1f3087c76f6febc7bba056383f
parentd3f7fba472cd83940a1374a9e0df79922599369d (diff)
Bugfix 11736
CTRL+Click on "load" for image node crashed. NULL pointer test missing...
-rw-r--r--source/blender/src/editnode.c2
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 */