From 4b660b989b984cb4ef6fcd6bfa81a3f92e894fb0 Mon Sep 17 00:00:00 2001 From: soulofmischief <30357883+soulofmischief@users.noreply.github.com> Date: Sat, 17 Dec 2022 18:19:21 -0800 Subject: [PATCH] Combine segmentMask with segmentSpecs in layer 1 --- zine-data-specs.js | 3 +-- zine-renderer.js | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/zine-data-specs.js b/zine-data-specs.js index 8d5b9bf..b2b895f 100644 --- a/zine-data-specs.js +++ b/zine-data-specs.js @@ -12,7 +12,6 @@ export const layer1Specs = [ 'position', 'quaternion', 'scale', - 'segmentMask', 'cameraJson', 'pointCloudHeaders', 'pointCloud', @@ -55,4 +54,4 @@ export const layer2Specs = [ 'floorNetCameraJson', 'segmentMask', 'editCameraJson', -]; \ No newline at end of file +]; diff --git a/zine-renderer.js b/zine-renderer.js index 1fb5998..913e55e 100644 --- a/zine-renderer.js +++ b/zine-renderer.js @@ -285,7 +285,6 @@ export class ZineRenderer extends EventTarget { const position = layer1.getData('position'); const quaternion = layer1.getData('quaternion'); const scale = layer1.getData('scale'); - const segmentMask = layer1.getData('segmentMask'); const pointCloudHeaders = layer1.getData('pointCloudHeaders'); const pointCloudArrayBuffer = layer1.getData('pointCloud'); const planesJson = layer1.getData('planesJson'); @@ -507,4 +506,4 @@ export class ZineRenderer extends EventTarget { ); targetZineRenderer.camera.updateMatrixWorld(); } -} \ No newline at end of file +}