Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / space_image / image_ops.c
index 659dfbfd57d507afcbfcc16fa941ca46941d3111..1cd2fcb442b827f6f404983b877b469834905f5d 100644 (file)
@@ -1172,6 +1172,7 @@ static int image_sequence_get_len(ListBase *frames, int *ofs)
                }
                return frame_curr - (*ofs);
        }
+       *ofs = 0;
        return 0;
 }