From ca1c23c2d6c89a470af937b5879d59b3749451dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Candice=20Bent=C3=A9jac?= Date: Thu, 16 Feb 2023 12:12:15 +0100 Subject: [PATCH] [Viewer] Check that the featureViewer exists before accessing it --- meshroom/ui/qml/Viewer/FeaturesInfoOverlay.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshroom/ui/qml/Viewer/FeaturesInfoOverlay.qml b/meshroom/ui/qml/Viewer/FeaturesInfoOverlay.qml index ced49055f3..57f8f8dd43 100644 --- a/meshroom/ui/qml/Viewer/FeaturesInfoOverlay.qml +++ b/meshroom/ui/qml/Viewer/FeaturesInfoOverlay.qml @@ -142,7 +142,7 @@ FloatingPane { ToolTip.visible: hovered Layout.fillHeight: true Layout.alignment: Qt.AlignRight - checked: root.featuresViewer.displayTrackEndpoints + checked: root.featuresViewer ? root.featuresViewer.displayTrackEndpoints : false onClicked: root.featuresViewer.displayTrackEndpoints = displayTrackEndpointsCB.checked } }