From 2a2fd70c66a759598e7843a018d255882311ec84 Mon Sep 17 00:00:00 2001 From: wuuconix Date: Tue, 21 Mar 2023 22:36:28 +0800 Subject: [PATCH] Fix inappropriate default modelId --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index b1f45f6..a1782b8 100755 --- a/src/index.js +++ b/src/index.js @@ -131,7 +131,7 @@ function loadWidget(config) { modelTexturesId = localStorage.getItem("modelTexturesId"); if (modelId === null) { // 首次访问加载 指定模型 的 指定材质 - modelId = 1; // 模型 ID + modelId = 0; // 模型 ID modelTexturesId = 53; // 材质 ID } model.loadModel(modelId, modelTexturesId);