From 695691cced719b7993d5174e517389880687ced4 Mon Sep 17 00:00:00 2001 From: Michael Gutensohn Date: Sat, 10 Feb 2024 09:38:54 -0800 Subject: [PATCH] temporary fix for geometry system issue. --- src/core/componentSystems/GeometryStyleSystem.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/core/componentSystems/GeometryStyleSystem.js b/src/core/componentSystems/GeometryStyleSystem.js index 6038bd86..a0c21a63 100644 --- a/src/core/componentSystems/GeometryStyleSystem.js +++ b/src/core/componentSystems/GeometryStyleSystem.js @@ -45,9 +45,10 @@ export class GeometryStyleSystem extends MRSystem { if (entity instanceof MREntity) { entity.updateGeometryStyle(); } - + // Cleanup - entity.dispatchEvent(new CustomEvent('child-updated', { bubbles: true })); + // FIXME: this is necessary in some cases but it's causing a constant update as of now + // entity.dispatchEvent(new CustomEvent('child-updated', { bubbles: true })); if (!entity.alwaysNeedsGeometryUpdate) { entity.needsGeometryUpdate = false; }