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