mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-19 09:37:14 +02:00
[ui] ImageGallery: update scene when the selected ldr2hdr node changed
This commit is contained in:
parent
2f17e9aa80
commit
505f0c68ee
1 changed files with 7 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue