diff options
author | Loïc Vital <mugulmotion@gmail.com> | 2022-09-27 10:19:44 +0300 |
---|---|---|
committer | Fabien Castan <fabcastan@gmail.com> | 2022-10-19 11:50:14 +0300 |
commit | 44c0086f40016908b9e743b63cc2e738107f6f77 (patch) | |
tree | 3c09bbf9daea689bf5be4df2a0ef206e3339c0ec | |
parent | f899e24bd62348572c6c8cf864dd7a8a7a14c1c5 (diff) |
[ui] always enable outputAttribute ComboBox
-rw-r--r-- | meshroom/ui/qml/Viewer/Viewer2D.qml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meshroom/ui/qml/Viewer/Viewer2D.qml b/meshroom/ui/qml/Viewer/Viewer2D.qml index 2dcd0bc6..f2b6bc8e 100644 --- a/meshroom/ui/qml/Viewer/Viewer2D.qml +++ b/meshroom/ui/qml/Viewer/Viewer2D.qml @@ -1081,17 +1081,15 @@ FocusScope { ComboBox { id: outputAttribute - property var activeNode: root.oiioPluginAvailable ? _reconstruction.activeNodes.get('allDepthMap').node : null clip: true Layout.minimumWidth: 0 Layout.preferredWidth: 3.0 * Qt.application.font.pixelSize flat: true property var names: [] - property string name: (enabled && names[currentIndex]) ? names[currentIndex] : ""; + property string name: names[currentIndex] ? names[currentIndex] : "" model: names - enabled: activeNode FontMetrics { id: fontMetrics |