fix: fix default model id is not 0

This commit is contained in:
perqin 2021-07-10 02:31:24 +08:00
parent f0aa9f3078
commit b5a431b25f

View File

@ -162,7 +162,7 @@ function loadWidget(config) {
modelTexturesId = localStorage.getItem("modelTexturesId");
if (modelId === null) {
// 首次访问加载 指定模型 的 指定材质
modelId = 1; // 模型 ID
modelId = 0; // 模型 ID
modelTexturesId = 53; // 材质 ID
}
loadModel(modelId, modelTexturesId);