|
@@ -17,7 +17,7 @@ import {
|
|
|
getGuidePaths
|
|
|
} from '@/store'
|
|
|
|
|
|
-import type { FuseModel, FuseModels, Guide } from '@/store'
|
|
|
+import type { FuseModel, FuseModels, Guide, GuidePath } from '@/store'
|
|
|
import { analysisPoseInfo } from '.'
|
|
|
|
|
|
// -----------------导览关联--------------------
|
|
@@ -122,8 +122,7 @@ export enum ScenePlayIngEnum {
|
|
|
}
|
|
|
export const isScenePlayIng = ref<ScenePlayIngEnum>(ScenePlayIngEnum.stop)
|
|
|
let pauseRecovery: () => void
|
|
|
-export const playSceneGuide = async (guide: Guide, changeIndexCallback?: (index: number) => void, forceFull = false) => {
|
|
|
- const paths = getGuidePaths(guide)
|
|
|
+export const playSceneGuide = async (paths: GuidePath[], changeIndexCallback?: (index: number) => void, forceFull = false) => {
|
|
|
if (isScenePlayIng.value) {
|
|
|
throw new Error('导览正在播放')
|
|
|
}
|