|
@@ -7,6 +7,7 @@ import { groupProxy } from "@/store/group";
|
|
|
import { isScenePlayRun, pauseScene, playScene } from "@/utils/full";
|
|
|
import { analysisPose, setPose } from ".";
|
|
|
import { custom, showPathsStack, showPathStack } from "@/env";
|
|
|
+import { Message } from "bill/expose-common";
|
|
|
|
|
|
// -----------------导览线关联--------------------
|
|
|
export type PathNode = Path;
|
|
@@ -49,7 +50,7 @@ export const playScenePath = async (
|
|
|
forceFull = false,
|
|
|
) => {
|
|
|
const node = getPathNode(path)
|
|
|
- if (!node) return null;
|
|
|
+ if (!node) return Message.error('路径所在模型被删除,无法播放');;
|
|
|
|
|
|
showPathsStack.push(ref(false))
|
|
|
showPathStack.push(ref(path.id))
|