Skip to content

Commit

Permalink
improvement: rename file and improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
haakonflatval-cognite committed Sep 16, 2022
1 parent b7ba87e commit 52556e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function createSerializedObject(obj: StylableObject): SerializedPointCloudObject
};
}
case ShapeType.Composite: {
throw Error('Composite types should not be sent to the parser worker, they should be decomposed first');
throw Error('Cannot assign points to objects - encountered unexpected composite object');
}
default:
assertNever(obj.shape.shapeType);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { StylableObject } from '../../styling/StylableObject';
import { AABB, Vec3 } from '../../styling/shapes/linalg';
import { assignPointsToObjectsWithWasm } from './assignPointsWithWasm';
import { assignPointsToObjectsWithWasm } from './assignPointsToObjectsWithWasm';

import * as THREE from 'three';

Expand Down

0 comments on commit 52556e5

Please sign in to comment.