Skip to content

Commit

Permalink
fix(live2d): update texture, moc, and physics file URLs to include mo…
Browse files Browse the repository at this point in the history
…delData.url
  • Loading branch information
dnaroma committed Feb 1, 2025
1 parent 2fe97aa commit e69dd7d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/live2d/Live2D.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,15 @@ const Live2DView: React.FC<unknown> = () => {

setProgress(20);
setProgressWords(t("live2d:load_progress.model_texture"));
await Axios.get(modelData.FileReferences.Textures[0]);
await Axios.get(modelData.url + modelData.FileReferences.Textures[0]);

setProgress(40);
setProgressWords(t("live2d:load_progress.model_moc3"));
await Axios.get(modelData.FileReferences.Moc);
await Axios.get(modelData.url + modelData.FileReferences.Moc);

setProgress(60);
setProgressWords(t("live2d:load_progress.model_physics"));
await Axios.get(modelData.FileReferences.Physics);
await Axios.get(modelData.url + modelData.FileReferences.Physics);

setProgress(90);
setProgressWords(t("live2d:load_progress.display_model"));
Expand Down

0 comments on commit e69dd7d

Please sign in to comment.