mirror of
https://github.com/stevenjoezhang/live2d-widget.git
synced 2024-11-26 14:47:02 +08:00
fix: fix default model id is not 0
This commit is contained in:
parent
f0aa9f3078
commit
b5a431b25f
@ -162,7 +162,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
|
||||||
}
|
}
|
||||||
loadModel(modelId, modelTexturesId);
|
loadModel(modelId, modelTexturesId);
|
||||||
|
Loading…
Reference in New Issue
Block a user