File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
packages/stage-ui/src/components/scenarios/settings/model-settings Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 11<script setup lang="ts">
22import type { DisplayModel } from ' ../../../../stores/display-models'
33
4- import { ThreeScene } from ' @proj-airi/stage-ui-three'
4+ import { ThreeScene , useModelStore } from ' @proj-airi/stage-ui-three'
55import { useMouse } from ' @vueuse/core'
66import { storeToRefs } from ' pinia'
77import { ref , watch } from ' vue'
@@ -45,9 +45,7 @@ watch(selectedModel, async () => {
4545 useLive2d ().shouldUpdateView ()
4646 break
4747 case DisplayModelFormat .VRM :
48- // Lilia: settingStore.updateStageModel has been called once above
49- // I don't know why it should be recalled again by triggering useVRM().shouldUpdateView()
50- // useVRM().shouldUpdateView()
48+ useModelStore ().shouldUpdateView ()
5149 break
5250 }
5351 }
You can’t perform that action at this time.
0 commit comments