forked from bartvdbraak/blender
Bugfix 11736
CTRL+Click on "load" for image node crashed. NULL pointer test missing...
This commit is contained in:
parent
d3f7fba472
commit
aba4f31086
@ -198,7 +198,7 @@ static int image_detect_file_sequence(int *start_p, int *frames_p, char *str)
|
|||||||
unsigned short numlen;
|
unsigned short numlen;
|
||||||
|
|
||||||
sfile= scrarea_find_space_of_type(curarea, SPACE_FILE);
|
sfile= scrarea_find_space_of_type(curarea, SPACE_FILE);
|
||||||
if(sfile==0)
|
if(sfile==NULL || sfile->filelist==NULL)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
/* find first frame */
|
/* find first frame */
|
||||||
|
Loading…
Reference in New Issue
Block a user