Browse Source

加上判断

wangfumin 1 week ago
parent
commit
990ad28150
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/sdk/association/path.ts

+ 1 - 1
src/sdk/association/path.ts

@@ -53,7 +53,7 @@ export const playScenePath = async (
   forceFull = false,
 ) => {
   const node = getPathNode(path)
-  console.error('un', !node, node, path.points, fuseModels.value, path)
+  // console.error('un', !node, node, path.points, fuseModels.value, path)
   if (!node || path.points.some(point => point.modelId !== '-100' && !fuseModels.value.some(am => am.id === point.modelId)) && !path.isAnimate) {
     return Message.error('路径所在模型被删除,无法播放');
   }