From d8afdbaac1be24617ba7bc3d6754df2e1c9f8604 Mon Sep 17 00:00:00 2001 From: hanbollar Date: Wed, 15 May 2024 18:51:26 -0700 Subject: [PATCH] update occlusion item Signed-off-by: hanbollar --- src/core/componentSystems/AnchorSystem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/componentSystems/AnchorSystem.js b/src/core/componentSystems/AnchorSystem.js index a64b8d53..2ddbe0d7 100644 --- a/src/core/componentSystems/AnchorSystem.js +++ b/src/core/componentSystems/AnchorSystem.js @@ -23,7 +23,7 @@ export class AnchorSystem extends MRSystem { this.currentEntity = null; this.tempMatrix = new THREE.Matrix4(); - this.planeManager = new MRPlaneManager(this.app.scene, this.app.getAttribute('occlusion')); + this.planeManager = new MRPlaneManager(this.app.scene, this.app.dataset.occlusion); this.anchoringQueue = new Set(); this.hitResults;