|
@@ -32,7 +32,6 @@ const getLineProps = () => ({
|
|
|
color: props.path.lineColor,
|
|
|
altitudeAboveGround: props.path.lineAltitudeAboveGround,
|
|
|
position: props.path.linePosition?.position || props.path.points[0]?.position,
|
|
|
- normal: props.path.linePosition?.normal || { x: 0, y: 0, z: 1 },
|
|
|
modelId: props.path.linePosition?.modelId || props.path.points[0]?.modelId,
|
|
|
});
|
|
|
|
|
@@ -48,6 +47,7 @@ const path = sdk.createPath({
|
|
|
path.changeCanEdit(false);
|
|
|
|
|
|
watchEffect(() => path.visibilityName(props.path.showName));
|
|
|
+watchEffect(() => path.changeFontSize(props.path.fontSize));
|
|
|
|
|
|
watchEffect(() => {
|
|
|
const range = props.path.globalVisibility ? -1 : props.path.visibilityRange;
|
|
@@ -111,7 +111,6 @@ watch(
|
|
|
path.bus.on("linePositionChange", (position) => {
|
|
|
const p = {
|
|
|
position: { ...position.pos },
|
|
|
- normal: { ...position.normal },
|
|
|
modelId: position.modelId,
|
|
|
};
|
|
|
currentLine = { ...getLineProps(), ...p };
|