diff --git a/changelog.d/20240702_085300_boris.md b/changelog.d/20240702_085300_boris.md new file mode 100644 index 000000000000..7ae197a8b4c5 --- /dev/null +++ b/changelog.d/20240702_085300_boris.md @@ -0,0 +1,4 @@ +### Fixed + +- The property "outside" not propagated correctly on skeleton elements + () diff --git a/cvat-core/src/object-utils.ts b/cvat-core/src/object-utils.ts index acba23d46d09..0c4a3e5d8143 100644 --- a/cvat-core/src/object-utils.ts +++ b/cvat-core/src/object-utils.ts @@ -368,6 +368,7 @@ export function propagateShapes( attributes: shape.attributes, points: shape.shapeType === 'skeleton' ? null : shape.points, occluded: shape.occluded, + outside: shape.outside, objectType: shape.objectType !== ObjectType.TRACK ? shape.objectType : ObjectType.SHAPE, shapeType: shape.shapeType, label: shape.label, @@ -392,7 +393,7 @@ export function propagateShapes( .map((element: SerializedShape): SerializedShape => getCopy(element as T) as SerializedShape) : [], source: shape.source, group: 0, - outside: false, + outside: shape.outside, }; };