diff --git a/viewer/packages/data-providers/src/pointcloud-stylable-object-providers/cdfAnnotationsToObjects.ts b/viewer/packages/data-providers/src/pointcloud-stylable-object-providers/cdfAnnotationsToObjects.ts index 132239f347e..8c5fbb9ffad 100644 --- a/viewer/packages/data-providers/src/pointcloud-stylable-object-providers/cdfAnnotationsToObjects.ts +++ b/viewer/packages/data-providers/src/pointcloud-stylable-object-providers/cdfAnnotationsToObjects.ts @@ -4,13 +4,9 @@ import { CompositeShape } from '@reveal/utilities'; -import { applyDefaultModelTransformation } from '../utilities/applyDefaultModelTransformation'; import { PointCloudObject, CdfPointCloudObjectAnnotation } from './types'; import { StylableObject } from './StylableObject'; -import { Matrix4 } from 'three'; -import { File3dFormat } from '../types'; - function cdfAnnotationsToPointCloudObjects(cdfAnnotations: CdfPointCloudObjectAnnotation[]): PointCloudObject[] { const resultAnnotations = cdfAnnotations.map((cdfAnnotation, index) => { const shapes = cdfAnnotation.region; @@ -21,9 +17,6 @@ function cdfAnnotationsToPointCloudObjects(cdfAnnotations: CdfPointCloudObjectAn objectId: index + 1 }; - const cadFromCdfToThreeMatrix = new Matrix4(); - applyDefaultModelTransformation(cadFromCdfToThreeMatrix, File3dFormat.EptPointCloud); - return { annotationId: cdfAnnotation.annotationId, assetId: cdfAnnotation.asset?.id,