mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-30 14:58:37 +02:00
Merge pull request #2282 from alicevision/fix/crfGraph
Use the correct response file to display the graph of the Camera Response Function
This commit is contained in:
commit
0d24c1eabf
6 changed files with 18 additions and 20 deletions
|
@ -1022,14 +1022,13 @@ FocusScope {
|
|||
|
||||
property var activeNode: _reconstruction ? _reconstruction.activeNodes.get('LdrToHdrCalibration').node : null
|
||||
property var isEnabled: displayLdrHdrCalibrationGraph.checked && activeNode && activeNode.isComputed
|
||||
// active: isEnabled
|
||||
// Setting "active" from true to false creates a crash on linux with Qt 5.14.2.
|
||||
// As a workaround, we clear the CameraResponseGraph with an empty node
|
||||
// and hide the loader content.
|
||||
visible: isEnabled
|
||||
active: isEnabled
|
||||
|
||||
property var path: activeNode && activeNode.hasAttribute("response") ? activeNode.attribute("response").value : ""
|
||||
property var vp: _reconstruction ? getViewpoint(_reconstruction.selectedViewId) : null
|
||||
|
||||
sourceComponent: CameraResponseGraph {
|
||||
ldrHdrCalibrationNode: isEnabled ? activeNode : null
|
||||
responsePath: resolve(path, vp)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue