mirror of
https://github.com/stevenjoezhang/live2d-widget.git
synced 2024-11-25 06:11:29 +08:00
Fix inappropriate default modelId
This commit is contained in:
parent
ae27493c29
commit
2a2fd70c66
@ -131,7 +131,7 @@ function loadWidget(config) {
|
|||||||
modelTexturesId = localStorage.getItem("modelTexturesId");
|
modelTexturesId = localStorage.getItem("modelTexturesId");
|
||||||
if (modelId === null) {
|
if (modelId === null) {
|
||||||
// 首次访问加载 指定模型 的 指定材质
|
// 首次访问加载 指定模型 的 指定材质
|
||||||
modelId = 1; // 模型 ID
|
modelId = 0; // 模型 ID
|
||||||
modelTexturesId = 53; // 材质 ID
|
modelTexturesId = 53; // 材质 ID
|
||||||
}
|
}
|
||||||
model.loadModel(modelId, modelTexturesId);
|
model.loadModel(modelId, modelTexturesId);
|
||||||
|
Loading…
Reference in New Issue
Block a user