From 96908434c0ad31fff8f1ff2f53dc76ec63eed054 Mon Sep 17 00:00:00 2001 From: frytaz Date: Mon, 9 Sep 2024 14:16:51 +0200 Subject: [PATCH] chore: disable dtx console.info logs which slow down render --- src/viewer/scene/model/dtx/triangles/DTXTrianglesLayer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/viewer/scene/model/dtx/triangles/DTXTrianglesLayer.js b/src/viewer/scene/model/dtx/triangles/DTXTrianglesLayer.js index 66ad27b6cc..7e43392ca0 100644 --- a/src/viewer/scene/model/dtx/triangles/DTXTrianglesLayer.js +++ b/src/viewer/scene/model/dtx/triangles/DTXTrianglesLayer.js @@ -822,14 +822,14 @@ export class DTXTrianglesLayer { // object colors textureState.texturePerObjectColorsAndFlags._textureData.set(tempUint8Array4, subPortionId * 32); if (this._deferredSetFlagsActive) { - console.info("_subPortionSetColor defer"); + //console.info("_subPortionSetColor defer"); this._deferredSetFlagsDirty = true; return; } if (++this._numUpdatesInFrame >= MAX_OBJECT_UPDATES_IN_FRAME_WITHOUT_BATCHED_UPDATE) { this._beginDeferredFlags(); // Subsequent flags updates now deferred } - console.info("_subPortionSetColor write through"); + //console.info("_subPortionSetColor write through"); gl.bindTexture(gl.TEXTURE_2D, textureState.texturePerObjectColorsAndFlags._texture); gl.texSubImage2D( gl.TEXTURE_2D,