|
|
|
@ -91,7 +91,10 @@ class AAMModel extends Listener {
|
|
|
|
for (let shape of this._shapeCollection.currentShapes) {
|
|
|
|
for (let shape of this._shapeCollection.currentShapes) {
|
|
|
|
let labelAttributes = window.cvat.labelsInfo.labelAttributes(shape.model.label);
|
|
|
|
let labelAttributes = window.cvat.labelsInfo.labelAttributes(shape.model.label);
|
|
|
|
if (Object.keys(labelAttributes).length && !shape.model.removed && !shape.interpolation.position.outside) {
|
|
|
|
if (Object.keys(labelAttributes).length && !shape.model.removed && !shape.interpolation.position.outside) {
|
|
|
|
this._currentShapes.push(shape);
|
|
|
|
this._currentShapes.push({
|
|
|
|
|
|
|
|
model: shape.model,
|
|
|
|
|
|
|
|
interpolation: shape.model.interpolate(window.cvat.player.frames.current),
|
|
|
|
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|