diff --git a/meshroom/ui/qml/Viewer/FloatImage.qml b/meshroom/ui/qml/Viewer/FloatImage.qml index b2e94d5c..a23ec4d8 100644 --- a/meshroom/ui/qml/Viewer/FloatImage.qml +++ b/meshroom/ui/qml/Viewer/FloatImage.qml @@ -149,7 +149,7 @@ AliceVision.FloatImageViewer { } function isMouseOver(mx, my) { - return root.isMouseInside(mx, my); + return root.surface.isMouseInside(mx, my); } function getMouseCoordinates(mx, my) { diff --git a/meshroom/ui/qml/Viewer/PanoramaViewer.qml b/meshroom/ui/qml/Viewer/PanoramaViewer.qml index 37980d71..852a4fc3 100644 --- a/meshroom/ui/qml/Viewer/PanoramaViewer.qml +++ b/meshroom/ui/qml/Viewer/PanoramaViewer.qml @@ -152,8 +152,8 @@ AliceVision.PanoramaViewer { // Update Euler angles var activeNode = _reconstruction.activeNodes.get('SfMTransform').node; - root.yaw = repeater.itemAt(0).item.getYaw(); - root.pitch = repeater.itemAt(0).item.getPitch(); + root.yaw = repeater.itemAt(0).item.surface.getYaw(); + root.pitch = repeater.itemAt(0).item.surface.getPitch(); activeNode.attribute("manualTransform.manualRotation.y").value = root.yaw; activeNode.attribute("manualTransform.manualRotation.x").value = root.pitch;