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:
authorCampbell Barton <ideasman42@gmail.com>2021-01-21 07:00:58 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-01-21 07:00:58 +0300
commit011a79215d01f2f217acde9a3efdad06dc92bb9d (patch)
tree89b518fa3931c7ca22db8478de2eea8d0b4d60cb
parentb243fab16bc3eca7db6639fb7fd9d2df019dc6eb (diff)
parentd7cfee0b683611a95ec69d47ca6d0f403a89e835 (diff)
Merge branch 'blender-v2.92-release'
-rw-r--r--source/blender/editors/space_image/image_sequence.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_image/image_sequence.c b/source/blender/editors/space_image/image_sequence.c
index 0817bdda88d..81f2ced7dee 100644
--- a/source/blender/editors/space_image/image_sequence.c
+++ b/source/blender/editors/space_image/image_sequence.c
@@ -65,10 +65,11 @@ static void image_sequence_get_frame_ranges(wmOperator *op, ListBase *ranges)
const bool do_frame_range = RNA_boolean_get(op->ptr, "use_sequence_detection");
ImageFrameRange *range = NULL;
int range_first_frame = 0;
+ /* Track when a new series of files are found that aren't compatible with the previous file. */
+ char base_head[FILE_MAX], base_tail[FILE_MAX];
RNA_string_get(op->ptr, "directory", dir);
RNA_BEGIN (op->ptr, itemptr, "files") {
- char base_head[FILE_MAX], base_tail[FILE_MAX];
char head[FILE_MAX], tail[FILE_MAX];
ushort digits;
char *filename = RNA_string_get_alloc(&itemptr, "name", NULL, 0);