|
@@ -84,7 +84,6 @@ const tag = sdk.createTagging({
|
|
|
});
|
|
|
|
|
|
const changePos = () => {
|
|
|
- console.error("getImageCenter", tag.getImageCenter());
|
|
|
pos.value = { localPos: tag.getImageCenter(), modelId: props.scenePos.modelId };
|
|
|
};
|
|
|
|
|
@@ -94,7 +93,10 @@ watchEffect(() => {
|
|
|
});
|
|
|
watchEffect(() => tag.changeMat(props.scenePos.mat));
|
|
|
watchEffect(() => tag.changeFontSize(props.scenePos.fontSize));
|
|
|
-watchEffect(() => tag.changeLineHeight(props.scenePos.lineHeight));
|
|
|
+watchEffect(() => {
|
|
|
+ tag.changeLineHeight(props.scenePos.lineHeight);
|
|
|
+ changePos();
|
|
|
+});
|
|
|
watchEffect(() => tag.changeTitle(props.tagging.title));
|
|
|
watchEffect(() => tag.visibilityTitle(props.tagging.show3dTitle));
|
|
|
watchEffect(() => {
|