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:
Diffstat (limited to 'source/blender/editors/io/io_alembic.c')
-rw-r--r--source/blender/editors/io/io_alembic.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/editors/io/io_alembic.c b/source/blender/editors/io/io_alembic.c
index dc8e33c817e..2f3e73f32d5 100644
--- a/source/blender/editors/io/io_alembic.c
+++ b/source/blender/editors/io/io_alembic.c
@@ -504,10 +504,12 @@ static int cmp_frame(const void *a, const void *b)
const CacheFrame *frame_a = a;
const CacheFrame *frame_b = b;
- if (frame_a->framenr < frame_b->framenr)
+ if (frame_a->framenr < frame_b->framenr) {
return -1;
- if (frame_a->framenr > frame_b->framenr)
+ }
+ if (frame_a->framenr > frame_b->framenr) {
return 1;
+ }
return 0;
}