From 505f0c68eed4c15ba076eb720f2d596cea23eaef Mon Sep 17 00:00:00 2001 From: Fabien Castan Date: Thu, 26 Mar 2020 14:30:50 +0100 Subject: [PATCH] [ui] ImageGallery: update scene when the selected ldr2hdr node changed --- meshroom/ui/qml/ImageGallery/ImageGallery.qml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/meshroom/ui/qml/ImageGallery/ImageGallery.qml b/meshroom/ui/qml/ImageGallery/ImageGallery.qml index e50f7666..975fd7f8 100644 --- a/meshroom/ui/qml/ImageGallery/ImageGallery.qml +++ b/meshroom/ui/qml/ImageGallery/ImageGallery.qml @@ -357,6 +357,13 @@ Panel { text: MaterialIcons.hdr_on visible: _reconstruction.ldr2hdr enabled: _reconstruction.ldr2hdr && _reconstruction.ldr2hdr.isComputed + property string nodeID: _reconstruction.ldr2hdr.label + _reconstruction.ldr2hdr.isComputed + onNodeIDChanged: { + if(checked) + { + _reconstruction.setupLDRToHDRCameraInit(); + } + } onEnabledChanged: { // Reset the toggle to avoid getting stuck // with the HDR node checked but disabled.