|
@@ -29,7 +29,7 @@ export const getPath = (id: Path['id']) => paths.value.find(path => path.id ===
|
|
|
|
|
|
export const getPathIsShow = (path: Path) => {
|
|
|
if (!custom.showPaths) return false;
|
|
|
- const modelIds = path.points.map(item => item.position.modelId)
|
|
|
+ const modelIds = path.points.map(item => item.modelId)
|
|
|
if (path.linePosition?.modelId) {
|
|
|
modelIds.push(path.linePosition.modelId)
|
|
|
}
|