From c88f1e84353d53f6ac442bea7e2292c94d06c872 Mon Sep 17 00:00:00 2001 From: Landrodie Date: Tue, 20 Jul 2021 14:29:22 +0200 Subject: [PATCH] [Fix] Fix fisheye center attribute setting --- meshroom/ui/qml/Viewer/Viewer2D.qml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meshroom/ui/qml/Viewer/Viewer2D.qml b/meshroom/ui/qml/Viewer/Viewer2D.qml index 0b151d79..661dfc11 100644 --- a/meshroom/ui/qml/Viewer/Viewer2D.qml +++ b/meshroom/ui/qml/Viewer/Viewer2D.qml @@ -439,8 +439,10 @@ FocusScope { onMoved: { if(!useAuto) { - _reconstruction.setAttribute(activeNode.attribute("fisheyeCenterOffset.fisheyeCenterOffset_x"), x) - _reconstruction.setAttribute(activeNode.attribute("fisheyeCenterOffset.fisheyeCenterOffset_y"), y) + _reconstruction.setAttribute( + activeNode.attribute("fisheyeCenterOffset"), + JSON.stringify([x, y]) + ); } } onIncrementRadius: {