From b700719bd5474401554c373667578ee3872e8f21 Mon Sep 17 00:00:00 2001 From: Boris Sekachev Date: Tue, 24 Mar 2020 20:40:03 +0300 Subject: [PATCH] Fixed: Could not receive frame (after merge on the latest frame) --- cvat-core/src/annotations-collection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cvat-core/src/annotations-collection.js b/cvat-core/src/annotations-collection.js index 309d387d..2135780c 100644 --- a/cvat-core/src/annotations-collection.js +++ b/cvat-core/src/annotations-collection.js @@ -317,7 +317,7 @@ // Push outside shape after each annotation shape // Any not outside shape rewrites it - if (!((object.frame + 1) in keyframes)) { + if (!((object.frame + 1) in keyframes) && object.frame + 1 <= this.stopFrame) { keyframes[object.frame + 1] = JSON .parse(JSON.stringify(keyframes[object.frame])); keyframes[object.frame + 1].outside = true;