Skip to content

Commit

Permalink
temp: disabling some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
seankmartin committed Oct 7, 2024
1 parent bc79ad1 commit f529778
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
7 changes: 7 additions & 0 deletions src/annotation/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,13 @@ export const annotationTypes = [
// AnnotationType.POLYGON,
];

export const oldAnnotationTypes = [
AnnotationType.POINT,
AnnotationType.LINE,
AnnotationType.AXIS_ALIGNED_BOUNDING_BOX,
AnnotationType.ELLIPSOID,
];

export interface AnnotationPropertySpecBase {
identifier: string;
description: string | undefined;
Expand Down
4 changes: 3 additions & 1 deletion src/annotation/renderlayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import type {
import {
AnnotationSerializer,
AnnotationSource,
annotationTypes,
oldAnnotationTypes,
formatAnnotationPropertyValue,
} from "#src/annotation/index.js";
import type {
Expand Down Expand Up @@ -139,6 +139,8 @@ import type {
import type { SharedObject } from "#src/worker_rpc.js";
import { registerSharedObjectOwner } from "#src/worker_rpc.js";

const annotationTypes = oldAnnotationTypes;

const tempMat = mat4.create();

function segmentationFilter(
Expand Down
4 changes: 3 additions & 1 deletion src/datasource/precomputed/backend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import type { Annotation } from "#src/annotation/index.js";
import {
AnnotationPropertySerializer,
annotationTypeHandlers,
annotationTypes,
oldAnnotationTypes,
} from "#src/annotation/index.js";
import { decodeGzip } from "#src/async_computation/decode_gzip_request.js";
import { requestAsyncComputation } from "#src/async_computation/request.js";
Expand Down Expand Up @@ -104,6 +104,8 @@ import {
} from "#src/util/zorder.js";
import { registerSharedObject } from "#src/worker_rpc.js";

const annotationTypes = oldAnnotationTypes;

// Set to true to validate the multiscale index.
const DEBUG_MULTISCALE_INDEX = false;

Expand Down

0 comments on commit f529778

Please sign in to comment.