From 749abc36f4290bf5a0451e59885749780f2a84fe Mon Sep 17 00:00:00 2001 From: Kcium <8279016@qq.com> Date: Thu, 5 Sep 2024 16:59:31 +0800 Subject: [PATCH] fix: html render null node --- player/js/renderers/HybridRendererBase.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player/js/renderers/HybridRendererBase.js b/player/js/renderers/HybridRendererBase.js index 5f1e691cc..474121506 100644 --- a/player/js/renderers/HybridRendererBase.js +++ b/player/js/renderers/HybridRendererBase.js @@ -208,7 +208,7 @@ HybridRendererBase.prototype.addTo3dContainer = function (elem, pos) { var j = this.threeDElements[i].startPos; var nextElement; while (j < pos) { - if (this.elements[j] && this.elements[j].getBaseElement) { + if (this.elements[j] && this.elements[j] !== true && this.elements[j].getBaseElement()) { nextElement = this.elements[j].getBaseElement(); } j += 1;