|
@@ -58,8 +58,9 @@ const show = computed(
|
|
|
toCameraDistance.value <= Math.pow(props.path.visibilityRange, 2)
|
|
|
);
|
|
|
watchEffect(() => {
|
|
|
+ console.log(props.path);
|
|
|
console.error("globalVisibility", show.value);
|
|
|
- path.visibility(show.value);
|
|
|
+ // path.visibility(show.value);
|
|
|
});
|
|
|
|
|
|
let currentPoints = props.path.points;
|
|
@@ -71,6 +72,7 @@ path.bus.on("changePoints", (points) => {
|
|
|
position: { ...p.position },
|
|
|
modelId: p.modelId,
|
|
|
}));
|
|
|
+ console.log("updatePoints", currentPoints);
|
|
|
emit("updatePoints", currentPoints);
|
|
|
});
|
|
|
watchEffect(() => {
|